diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-02-12 17:03:00 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-17 14:32:32 +0800 |
commit | 79ccef698ac811b3029fd01cbe2114fed3219c8a (patch) | |
tree | b9f08f83ae869bc8ca3c630a202076e41dcbeb9d /drivers/clk/imx/clk-fixup-mux.c | |
parent | f95d58981f40b546429e1b06e441c70bcc52786e (diff) | |
download | lwn-79ccef698ac811b3029fd01cbe2114fed3219c8a.tar.gz lwn-79ccef698ac811b3029fd01cbe2114fed3219c8a.zip |
clk: imx: drop redundant initialization
No need to initialize flags as 0, remove the initialization.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk-fixup-mux.c')
-rw-r--r-- | drivers/clk/imx/clk-fixup-mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-fixup-mux.c b/drivers/clk/imx/clk-fixup-mux.c index b569d919c645..58a67630bb6a 100644 --- a/drivers/clk/imx/clk-fixup-mux.c +++ b/drivers/clk/imx/clk-fixup-mux.c @@ -42,7 +42,7 @@ static int clk_fixup_mux_set_parent(struct clk_hw *hw, u8 index) { struct clk_fixup_mux *fixup_mux = to_clk_fixup_mux(hw); struct clk_mux *mux = to_clk_mux(hw); - unsigned long flags = 0; + unsigned long flags; u32 val; spin_lock_irqsave(mux->lock, flags); |