clk: asm9620: Remove 'hw' local variable that isn't checked
authorStephen Boyd <sboyd@kernel.org>
Sat, 9 Sep 2023 00:07:02 +0000 (17:07 -0700)
committerStephen Boyd <sboyd@kernel.org>
Mon, 11 Sep 2023 20:12:53 +0000 (13:12 -0700)
commitf2af7cb8ac0f825b415b4846a526bddba68807b1
treef89548681f44ba1f373626af3f4735c8f23b4ec3
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
clk: asm9620: Remove 'hw' local variable that isn't checked

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@linaro.org>
Fixes: f5290d8e4f0c ("clk: asm9260: use parent index to link the reference clock")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309042014.IWERPl09-lkp@intel.com/
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20230909000703.3478902-1-sboyd@kernel.org
drivers/clk/clk-asm9260.c