Re: [PATCH] cw1200: make cw1200_spi_irq_unsubscribe() void

From: Kalle Valo
Date: Wed Apr 15 2020 - 04:39:34 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
>
> drivers/net/wireless/st/cw1200/cw1200_spi.c:273:5-8: Unneeded variable:
> "ret". Return "0" on line 279
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

80efb443ea03 cw1200: make cw1200_spi_irq_unsubscribe() void

--
https://patchwork.kernel.org/patch/11483037/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches