Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Colin Ian King and committed by
Stephen Boyd
3e6054d0 c62b1f34

-1
-1
drivers/clk/imx/clk-sscg-pll.c
··· 525 525 init.parent_names = parent_names; 526 526 init.num_parents = num_parents; 527 527 528 - pll->base = base; 529 528 pll->hw.init = &init; 530 529 531 530 hw = &pll->hw;