[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <153271055369.48062.7965396244056342743@swboyd.mtv.corp.google.com>
Date: Fri, 27 Jul 2018 09:55:53 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Anders Roxell <anders.roxell@...aro.org>,
gregory.clement@...tlin.com, mturquette@...libre.com
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Anders Roxell <anders.roxell@...aro.org>
Subject: Re: [PATCH] clk: mvebu: armada-37xx-periph: Remove unused var num_parents
Quoting Anders Roxell (2018-07-26 15:27:21)
> When building armada-37xx-periph, num_parents isn't used in function
> clk_pm_cpu_get_parent:
> drivers/clk/mvebu/armada-37xx-periph.c: In function ‘clk_pm_cpu_get_parent’:
> drivers/clk/mvebu/armada-37xx-periph.c:419:6: warning: unused variable ‘num_parents’ [-Wunused-variable]
> int num_parents = clk_hw_get_num_parents(hw);
> ^~~~~~~~~~~
> Remove the declaration of num_parents to dispose the warning.
>
> Fixes: 616bf80d381d ("clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent")
> Signed-off-by: Anders Roxell <anders.roxell@...aro.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists