Re: [PATCH -next] cxgb4: Remove unused variable ret
From: Jakub Kicinski
Date: Sat Nov 14 2020 - 12:50:18 EST
On Sat, 14 Nov 2020 17:38:26 +0800 Zou Wei wrote:
> This patch fixes below warning reported by coccicheck:
>
> ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3284:5-8: Unneeded variable: "ret". Return "0" on line 3301
>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
Some macro uses it implicitly, this breaks the build.