Re: [PATCH -next] clk: imx: gate2: Remove unused variable ret

From: Shawn Guo
Date: Mon Nov 09 2020 - 20:09:12 EST


On Tue, Nov 03, 2020 at 07:32:14PM +0800, Zou Wei wrote:
> This patch fixes below warning reported by coccicheck:
>
> ./clk-gate2.c:57:5-8: Unneeded variable: "ret". Return "0" on line 68
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>

Applied, thanks.