Re: wifi: rtl8xxxu: rtl8xxxu_rx_complete(): remove unnecessary return
From: Kalle Valo
Date: Fri May 05 2023 - 03:34:19 EST
Martin Kaiser <martin@xxxxxxxxx> 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@xxxxxxxxx>
> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
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@xxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches