diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-10-03 07:33:16 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-10-05 09:54:58 +0300 |
commit | 9418edf8ff01e7a4904aac1aca4864ecdea37593 (patch) | |
tree | ed78aca76fd8ef81bff0e221a711fd665afb7b85 /drivers/power | |
parent | 036042e15770eab835e8e13f8164c6df63a74dbb (diff) | |
download | linux-stable-9418edf8ff01e7a4904aac1aca4864ecdea37593.tar.gz linux-stable-9418edf8ff01e7a4904aac1aca4864ecdea37593.tar.bz2 linux-stable-9418edf8ff01e7a4904aac1aca4864ecdea37593.zip |
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@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231003043318.11370-1-dmantipov@yandex.ru
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions