[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1b8a5bcbddc57cb3c62d3d81fdc4c4a.sboyd@kernel.org>
Date: Mon, 11 Sep 2023 13:20:26 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
patches@...ts.linux.dev,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] clk: asm9620: Remove 'hw' local variable that isn't checked
Quoting Stephen Boyd (2023-09-08 17:07:02)
> The 'hw' pointer local variable in this function became unused after
> commit f5290d8e4f0c ("clk: asm9260: use parent index to link the
> reference clock"). Remove it to silence an unused but set variable
> warning.
>
> drivers/clk/clk-asm9260.c:258:17: warning: variable 'hw' set but not used [-Wunused-but-set-variable]
> struct clk_hw *hw, *pll_hw;
> ^
> 1 warning generated.
>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> Fixes: f5290d8e4f0c ("clk: asm9260: use parent index to link the reference clock")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202309042014.IWERPl09-lkp@intel.com/
> Signed-off-by: Stephen Boyd <sboyd@...nel.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists