[PATCH] clk: imx: remove redundant re-assignment of pll->base

Stephen Boyd sboyd at kernel.org
Wed Mar 9 10:39:28 PST 2022


Quoting Colin Ian King (2022-03-03 01:05:08)
> There are two identical assignments of pll->base to the same value,
> the second assignment is redundant and can be removed.
> 
> Cleans up cppcheck warning:
> drivers/clk/imx/clk-sscg-pll.c:528:12: style: Variable 'pll->base' is
> reassigned a value before the old one has been used. [redundantAssignment]
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list