wifi: rtw88: simplify __rtw_tx_work()
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 2 Nov 2023 11:55:55 +0000 (14:55 +0300)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Nov 2023 18:12:18 +0000 (20:12 +0200)
commited4f0c195e8fba06fa5c1072ade7feaadb91c03d
treea3069374cd79d2079b9e00577389f0af0bdd7978
parentca76817f4c4bbf8f98268772f4eeea8382a34bcd
wifi: rtw88: simplify __rtw_tx_work()

Since 'ieee80211_txq_get_depth()' allows NULL for 2nd and
3rd arguments, simplify '__rtw_tx_work()' by dropping unused
'byte_cnt'. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231102115606.69838-1-dmantipov@yandex.ru
drivers/net/wireless/realtek/rtw88/tx.c