Re: [PATCH] libertas: make lbs_init_mesh() void
From: Kalle Valo
Date: Wed Apr 15 2020 - 04:40:34 EST
Jason Yan <yanaijie@xxxxxxxxxx> wrote:
> Fix the following coccicheck warning:
>
> drivers/net/wireless/marvell/libertas/mesh.c:833:5-8: Unneeded variable:
> "ret". Return "0" on line 874
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
> Reviewed-by: Lubomir Rintel <lkundrak@xxxxx>
Patch applied to wireless-drivers-next.git, thanks.
2fd5fdca6a3a libertas: make lbs_init_mesh() void
--
https://patchwork.kernel.org/patch/11483039/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches