Re: [PATCH] ipw2x00: make ipw_setup_deferred_work() void
From: Kalle Valo
Date: Wed Apr 15 2020 - 04:50:47 EST
Jason Yan <yanaijie@xxxxxxxxxx> wrote:
> This function actually needs no return value. So remove the unneeded
> variable 'ret' and make it void.
>
> This also fixes the following coccicheck warning:
>
> drivers/net/wireless/intel/ipw2x00/ipw2200.c:10648:5-8: Unneeded
> variable: "ret". Return "0" on line 10684
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
5a652b49b41b ipw2x00: make ipw_setup_deferred_work() void
--
https://patchwork.kernel.org/patch/11487287/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches