OSDN Git Service

wifi: rtw88: usb: drop now unnecessary URB size check
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 10 Feb 2023 11:16:32 +0000 (12:16 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 15 Feb 2023 07:50:21 +0000 (09:50 +0200)
commit462c8db6a01160836c68e262d25566f2447148d9
tree2129e501f41cb7185996080dbcc056956945bde0
parent07ce9fa6ab0e5e4cb5516a1f7c754ab2758fe5cd
wifi: rtw88: usb: drop now unnecessary URB size check

Now that we send URBs with the URB_ZERO_PACKET flag set we no longer
need to make sure that the URB sizes are not multiple of the
bulkout_size. Drop the check.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230210111632.1985205-4-s.hauer@pengutronix.de
drivers/net/wireless/realtek/rtw88/usb.c