[lvc-project] [PATCH] [v2] wifi: rt2x00: remove useless code in rt2x00queue_create_tx_descriptor()

Kalle Valo kvalo at kernel.org
Fri Dec 15 16:40:40 MSK 2023


Dmitry Antipov <dmantipov at yandex.ru> wrote:

> 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 at yandex.ru>
> Acked-by: Stanislaw Gruszka <stf_xl at wp.pl>

Patch applied to wireless-next.git, thanks.

5a1745807580 wifi: rt2x00: remove useless code in rt2x00queue_create_tx_descriptor()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20231213051449.126963-1-dmantipov@yandex.ru/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the lvc-project mailing list