[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 5 May 2023 07:34:00 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Martin Kaiser <martin@...ser.cx>
Cc: Jes Sorensen <Jes.Sorensen@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Martin Kaiser <martin@...ser.cx>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: wifi: rtl8xxxu: rtl8xxxu_rx_complete(): remove unnecessary return
Martin Kaiser <martin@...ser.cx> wrote:
> Remove a return statement at the end of a void function.
>
> This fixes a checkpatch warning.
>
> WARNING: void function return statements are not generally useful
> 6206: FILE: ./drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:6206:
> + return;
> +}
>
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> Reviewed-by: Ping-Ke Shih <pkshih@...ltek.com>
Patch applied to wireless-next.git, thanks.
271a588d34ed wifi: rtl8xxxu: rtl8xxxu_rx_complete(): remove unnecessary return
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230427185936.923777-1-martin@kaiser.cx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists