Dmitry Antipov <dmantipov@xxxxxxxxx> 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@xxxxxxxxx> > Acked-by: Stanislaw Gruszka <stf_xl@xxxxx> 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@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches