[lvc-project] [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo()
Ping-Ke Shih
pkshih at realtek.com
Tue Oct 3 08:29:32 MSK 2023
> -----Original Message-----
> From: Dmitry Antipov <dmantipov at yandex.ru>
> Sent: Tuesday, October 3, 2023 12:33 PM
> To: Ping-Ke Shih <pkshih at realtek.com>
> Cc: Kalle Valo <kvalo at kernel.org>; linux-wireless at vger.kernel.org; lvc-project at linuxtesting.org; Dmitry
> Antipov <dmantipov at yandex.ru>
> Subject: [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo()
>
> Since '!(0x5ea42b & 0xffff0000)' is always false, remove unreachable
> block in 'rtl92d_dm_check_edca_turbo()' and convert EDCA limits to
> constant variables. Compile tested only.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
Acked-by: Ping-Ke Shih <pkshih at realtek.com>
More information about the lvc-project
mailing list