summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-09-25 12:04:48 +0300
committerKalle Valo <kvalo@kernel.org>2023-09-28 19:25:36 +0300
commit6016f0cb02f4de005d7829da959e774447ff40fb (patch)
treed0bea8713fc4fe61896c451cda44c4a02729f3e5 /drivers/net/wireless/ath/ath9k
parent8e73c0455b1266146fb972794af1831bd4389eec (diff)
downloadlinux-6016f0cb02f4de005d7829da959e774447ff40fb.tar.xz
wifi: rtlwifi: cleanup few rtlxxxx_set_hw_reg() routines
Since 'u8' comparison against zero is always false, drop the corresponding branches of AMPDU_MIN_SPACE adjustment within 'rtlxxxx_set_hw_reg()' for rtl8188ee, rtl8192ce, rtl8192de, rtl8723ae, rtl8723be, and rtl8821ae. 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/20230925090452.25633-1-dmantipov@yandex.ru
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
0 files changed, 0 insertions, 0 deletions