Skip to content

Commit 3e6054d

Browse files
ColinIanKingbebarino
authored andcommitted
clk: imx: remove redundant re-assignment of pll->base
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@gmail.com> Link: https://lore.kernel.org/r/20220303090508.1125175-1-colin.i.king@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent c62b1f3 commit 3e6054d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/clk/imx/clk-sscg-pll.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
525525
init.parent_names = parent_names;
526526
init.num_parents = num_parents;
527527

528-
pll->base = base;
529528
pll->hw.init = &init;
530529

531530
hw = &pll->hw;

0 commit comments

Comments
 (0)