Re: [PATCH][clk-next] clk: imx: remove redundant initialization of ret to zero

From: Dan Carpenter
Date: Tue Dec 11 2018 - 04:49:06 EST

On Sun, Dec 09, 2018 at 03:08:32PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 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.

Just curious, is there a static checker which complains about this as
dead code?

dan carpenter