]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d49662755571f47b53751ef31768ec0385a149f
treee0e7a226ca35fafdd24a68e36d05e163e6187e5c
parentd356b520ce9f493919a56c33f213497e542a92b3
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