Commit 271a588d authored by Martin Kaiser's avatar Martin Kaiser Committed by Kalle Valo
Browse files

wifi: rtl8xxxu: rtl8xxxu_rx_complete(): remove unnecessary return



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: default avatarMartin Kaiser <martin@kaiser.cx>
Reviewed-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230427185936.923777-1-martin@kaiser.cx
parent 6dc28456
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -6443,7 +6443,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb)
cleanup:
	usb_free_urb(urb);
	dev_kfree_skb(skb);
	return;
}

static int rtl8xxxu_submit_rx_urb(struct rtl8xxxu_priv *priv,