From: Colin Ian King Date: Sun, 9 Dec 2018 15:08:32 +0000 (+0000) Subject: clk: imx: remove redundant initialization of ret to zero X-Git-Tag: v5.0-rc1~171^2~5^6~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33e7a8422546b5cd65d4af4dfe4ed92ea543d8df;p=thirdparty%2Fkernel%2Flinux.git clk: imx: remove redundant initialization of ret to zero The initialization of ret is redundant as it is being re-assigned to the return value from the call to imx8m_clk_composite_compute_dividers. Clean this up by removing the initialization. Signed-off-by: Colin Ian King Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/imx/clk-composite-8m.c b/drivers/clk/imx/clk-composite-8m.c index 6d9d3714b4dfa..527ade1d69331 100644 --- a/drivers/clk/imx/clk-composite-8m.c +++ b/drivers/clk/imx/clk-composite-8m.c @@ -93,7 +93,7 @@ static int imx8m_clk_composite_divider_set_rate(struct clk_hw *hw, unsigned long flags = 0; int prediv_value; int div_value; - int ret = 0; + int ret; u32 val; ret = imx8m_clk_composite_compute_dividers(rate, parent_rate,