[PATCH 00/11] staging: rtl8723bs: Remove unused functions starting with RTW_DISABLE_FUNC

From: Philipp Hortmann
Date: Tue Sep 10 2024 - 01:56:28 EST


Remove unused functions.

There are some debug functions in between. I assume that those can be
removed as well as due to missing information how to use them and
what the output is those are not useable for developers without
further documentation.

Tested with rtl8723bs in ODYS Trendbook Next 14

MAINTAINERS File does not need to be updated.

Philipp Hortmann (11):
staging: rtl8723bs: Remove unused function RTW_DISABLE_FUNC
staging: rtl8723bs: Remove unused function rxmem_to_recvframe
staging: rtl8723bs: Remove unused function rtw_hal_get_odm_var
staging: rtl8723bs: Remove unused function rf_reg_dump
staging: rtl8723bs: Remove unused function dump_4_rf_regs
staging: rtl8723bs: Remove unused function bb_reg_dump
staging: rtl8723bs: Remove unused function mac_reg_dump
staging: rtl8723bs: Remove unused function dump_4_regs
staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h
staging: rtl8723bs: Remove unused function rtw_ch2freq
staging: rtl8723bs: Remove unused file rtw_rf.c

drivers/staging/rtl8723bs/Makefile | 2 -
drivers/staging/rtl8723bs/core/rtw_ap.c | 1 -
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 1 -
drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 --
drivers/staging/rtl8723bs/core/rtw_debug.c | 68 -------------------
drivers/staging/rtl8723bs/core/rtw_efuse.c | 1 -
.../staging/rtl8723bs/core/rtw_ieee80211.c | 1 -
drivers/staging/rtl8723bs/core/rtw_io.c | 1 -
.../staging/rtl8723bs/core/rtw_ioctl_set.c | 1 -
drivers/staging/rtl8723bs/core/rtw_mlme.c | 1 -
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 1 -
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 1 -
drivers/staging/rtl8723bs/core/rtw_recv.c | 1 -
drivers/staging/rtl8723bs/core/rtw_rf.c | 34 ----------
drivers/staging/rtl8723bs/core/rtw_security.c | 1 -
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 1 -
.../staging/rtl8723bs/core/rtw_wlan_util.c | 1 -
drivers/staging/rtl8723bs/core/rtw_xmit.c | 1 -
.../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 1 -
drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c | 1 -
drivers/staging/rtl8723bs/hal/hal_btcoex.c | 1 -
drivers/staging/rtl8723bs/hal/hal_com.c | 1 -
.../staging/rtl8723bs/hal/hal_com_phycfg.c | 1 -
drivers/staging/rtl8723bs/hal/hal_intf.c | 7 --
drivers/staging/rtl8723bs/hal/hal_sdio.c | 1 -
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 1 -
drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 1 -
.../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 1 -
.../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 1 -
.../staging/rtl8723bs/hal/rtl8723bs_recv.c | 1 -
.../staging/rtl8723bs/hal/rtl8723bs_xmit.c | 1 -
drivers/staging/rtl8723bs/hal/sdio_halinit.c | 1 -
drivers/staging/rtl8723bs/hal/sdio_ops.c | 1 -
drivers/staging/rtl8723bs/include/drv_types.h | 7 --
drivers/staging/rtl8723bs/include/hal_intf.h | 1 -
drivers/staging/rtl8723bs/include/rtw_debug.h | 14 ----
drivers/staging/rtl8723bs/include/rtw_recv.h | 10 ---
drivers/staging/rtl8723bs/include/rtw_rf.h | 2 -
.../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 1 -
.../staging/rtl8723bs/os_dep/ioctl_linux.c | 1 -
drivers/staging/rtl8723bs/os_dep/mlme_linux.c | 1 -
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 1 -
.../staging/rtl8723bs/os_dep/osdep_service.c | 1 -
drivers/staging/rtl8723bs/os_dep/recv_linux.c | 1 -
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 1 -
.../staging/rtl8723bs/os_dep/sdio_ops_linux.c | 1 -
drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 1 -
drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 1 -
48 files changed, 187 deletions(-)
delete mode 100644 drivers/staging/rtl8723bs/core/rtw_debug.c
delete mode 100644 drivers/staging/rtl8723bs/core/rtw_rf.c
delete mode 100644 drivers/staging/rtl8723bs/include/rtw_debug.h

--
2.46.0