Re: [PATCH] libertas: make lbs_process_event() void

From: Kalle Valo
Date: Wed Apr 15 2020 - 04:47:07 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
>
> drivers/net/wireless/marvell/libertas/cmdresp.c:225:5-8: Unneeded
> variable: "ret". Return "0" on line 355
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

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

99cd87d63c0b libertas: make lbs_process_event() void

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

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