Remove unused functions, macros and one enum. Tested with rtl8723bs in ODYS Trendbook Next 14 Philipp Hortmann (17): staging: rtl8723bs: Remove unused function dvobj_get_port0_adapter staging: rtl8723bs: Remove unused function rtw_search_max_mac_id staging: rtl8723bs: Remove unused function read_cam staging: rtl8723bs: Remove unused function rtw_get_oper_choffset staging: rtl8723bs: Remove unused function rtw_get_oper_bw staging: rtl8723bs: Remove unused function _ReadCAM staging: rtl8723bs: Remove unused entries from struct hal_ops staging: rtl8723bs: Remove unused function PHY_SetBWMode8723B staging: rtl8723bs: Remove unused function PHY_GetTxPowerLevel8723B staging: rtl8723bs: Remove unused function Hal_BT_EfusePowerSwitch staging: rtl8723bs: Remove unused function rtl8723b_GetHalODMVar staging: rtl8723bs: Remove unused function GetHalODMVar staging: rtl8723bs: Remove unused function rtl8723bs_inirp_init staging: rtl8723bs: Remove unused function rtl8723bs_inirp_deinit staging: rtl8723bs: Remove constant result macro is_primary_adapter staging: rtl8723bs: Remove constant result macro get_iface_type staging: rtl8723bs: Remove unused enum with first entry IFACE_PORT0 drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 6 +- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 +- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 7 -- .../staging/rtl8723bs/core/rtw_wlan_util.c | 64 ------------------- drivers/staging/rtl8723bs/hal/hal_com.c | 34 +++------- drivers/staging/rtl8723bs/hal/hal_intf.c | 20 +++--- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 53 --------------- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 ----- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 13 ---- drivers/staging/rtl8723bs/include/drv_types.h | 10 --- drivers/staging/rtl8723bs/include/hal_com.h | 4 -- drivers/staging/rtl8723bs/include/hal_intf.h | 14 ---- .../staging/rtl8723bs/include/hal_phy_cfg.h | 5 -- .../staging/rtl8723bs/include/rtw_mlme_ext.h | 5 -- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 3 +- 16 files changed, 22 insertions(+), 237 deletions(-) -- 2.43.0