mirror_ubuntu-kernels/drivers/net/wireless/realtek
Colin Ian King f7e7e44055 rtw89: Remove redundant check of ret after call to rtw89_mac_enable_bb_rf
The function rtw89_mac_enable_bb_rf is a void return type, so there is
no return error code to ret, so the following check for an error in ret
is redundant dead code and can be removed.

Addresses-Coverity: ("Logically dead code")
Fixes: e3ec7017f6 ("rtw89: add Realtek 802.11ax driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211015152113.33179-1-colin.king@canonical.com
2021-10-18 15:31:24 +03:00
..
rtl8xxxu rtl8xxxu: Use lower tx rates for the ack packet 2021-10-05 08:33:05 +03:00
rtl818x rtl818x_pci: switch from 'pci_' to 'dma_' API 2020-09-01 12:34:20 +03:00
rtlwifi wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
rtw88 rtw88: refine fw_crash debugfs to show non-zero while triggering 2021-10-05 08:28:36 +03:00
rtw89 rtw89: Remove redundant check of ret after call to rtw89_mac_enable_bb_rf 2021-10-18 15:31:24 +03:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00