summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-sscg-pll.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-03-03 12:05:08 +0300
committerStephen Boyd <sboyd@kernel.org>2022-03-09 21:39:25 +0300
commit3e6054d043c01e0d47a51cddc814f8d3409fc355 (patch)
treee0e7a226ca35fafdd24a68e36d05e163e6187e5c /drivers/clk/imx/clk-sscg-pll.c
parentc62b1f34e93f29e5ee213d7c5797c99bd6439e35 (diff)
downloadlinux-3e6054d043c01e0d47a51cddc814f8d3409fc355.tar.xz
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>
Diffstat (limited to 'drivers/clk/imx/clk-sscg-pll.c')
-rw-r--r--drivers/clk/imx/clk-sscg-pll.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-sscg-pll.c b/drivers/clk/imx/clk-sscg-pll.c
index 9d6cdff0537f..81f304fae908 100644
--- a/drivers/clk/imx/clk-sscg-pll.c
+++ b/drivers/clk/imx/clk-sscg-pll.c
@@ -525,7 +525,6 @@ struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
init.parent_names = parent_names;
init.num_parents = num_parents;
- pll->base = base;
pll->hw.init = &init;
hw = &pll->hw;