[PATCH 0/3] rtlwifi deadcoding

linux
2025-04-25T23:53:49Z

Hi,
A bunch of small deadcode cleanups for unused functions, many
of which are empty anyway.

However, one odd thing I noticed while preparing these is
rtl8188ee_bt_hw_init() in
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c
isn't called - lots of the other models have similarly
named functions that are called; is that a bug just
forgetting to call it?

Dave

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Dr. David Alan Gilbert (3):
wifi: rtlwifi: Remove unused rtl_usb_{resume|suspend}
wifi: rtlwifi: Remove uncalled stub rtl*_phy_ap_calibrate
wifi: rtlwifi: Remove unused rtl_bb_delay()

drivers/net/wireless/realtek/rtlwifi/core.c | 11 -----------
drivers/net/wireless/realtek/rtlwifi/core.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 5 -----
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.c | 5 -----
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 4 ----
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 4 ----
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/usb.c | 12 ------------
drivers/net/wireless/realtek/rtlwifi/usb.h | 2 --
12 files changed, 48 deletions(-)

--
2.49.0