diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-12-13 08:14:43 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-12-15 16:40:26 +0300 |
commit | 5a1745807580618e2524913f0c71bd779d94f0e5 (patch) | |
tree | 6389c6e50328c887393758518c923eb0aca958ea /drivers/net/wireless/mediatek | |
parent | 48fa9b61ae1692befb7e3661e8e708c2ba16f536 (diff) | |
download | linux-5a1745807580618e2524913f0c71bd779d94f0e5.tar.xz |
wifi: rt2x00: remove useless code in rt2x00queue_create_tx_descriptor()
In 'rt2x00queue_create_tx_descriptor()', there is no need to call
'ieee80211_get_rts_cts_rate()' while checking for RTS/CTS frame
since this function returns NULL or pointer to internal bitrate
table entry, and the return value is not actually used. Compile
tested only.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231213051449.126963-1-dmantipov@yandex.ru
Diffstat (limited to 'drivers/net/wireless/mediatek')
0 files changed, 0 insertions, 0 deletions