[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200415085003.62E45C433F2@smtp.codeaurora.org>
Date: Wed, 15 Apr 2020 08:50:03 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Jason Yan <yanaijie@...wei.com>
Cc: <stas.yakovlev@...il.com>, <davem@...emloft.net>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Jason Yan <yanaijie@...wei.com>
Subject: Re: [PATCH] ipw2x00: make ipw_setup_deferred_work() void
Jason Yan <yanaijie@...wei.com> 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@...wei.com>
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
Powered by blists - more mailing lists