Commit 33e7a842 authored by Colin Ian King's avatar Colin Ian King Committed by Stephen Boyd

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: default avatarColin Ian King <>
Signed-off-by: default avatarStephen Boyd <>
parent ff70fbd0
......@@ -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,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment