clk: imx: remove redundant re-assignment of pll->base
authorColin Ian King <colin.i.king@gmail.com>
Thu, 3 Mar 2022 09:05:08 +0000 (09:05 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 9 Mar 2022 18:39:25 +0000 (10:39 -0800)
commit3e6054d043c01e0d47a51cddc814f8d3409fc355
treee0e7a226ca35fafdd24a68e36d05e163e6187e5c
parentc62b1f34e93f29e5ee213d7c5797c99bd6439e35
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>
drivers/clk/imx/clk-sscg-pll.c