[PATCH v2 0/4] staging: rtl8723bs: remove unused code blocks
From: Fabio Aiuto
Date: Fri Mar 12 2021 - 13:33:57 EST
This patch set removes unused code blocks as required in TODO file:
find and remove code blocks guarded by never set CONFIG_FOO defines
Changes in v2:
- modified sunject lines to make them unique
- added a patch previously excluded (removal of
CONFIG_PNO_SET_DEBUG code)
Fabio Aiuto (4):
staging: rtl8723bs: remove unused code blocks conditioned by never set
CONFIG_PNO_SET_DEBUG
staging: rtl8723bs: remove unused code blocks conditioned by never set
CONFIG_PNO_SUPPORT
staging: rtl8723bs: remove unused code blocks conditioned by never set
CONFIG_WOWLAN
staging: rtl8723bs: remove unused code blocks conditioned by never set
CONFIG_TCP_CSUM_OFFLOAD_RX
drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 -
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 24 +-
.../staging/rtl8723bs/core/rtw_wlan_util.c | 61 +-
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 872 +-----------------
.../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 43 +-
drivers/staging/rtl8723bs/hal/sdio_halinit.c | 253 +----
drivers/staging/rtl8723bs/hal/sdio_ops.c | 4 +-
drivers/staging/rtl8723bs/include/autoconf.h | 3 -
drivers/staging/rtl8723bs/include/drv_types.h | 5 -
.../rtl8723bs/include/drv_types_sdio.h | 2 +-
.../staging/rtl8723bs/include/hal_com_h2c.h | 88 +-
drivers/staging/rtl8723bs/include/hal_intf.h | 5 -
.../staging/rtl8723bs/include/rtl8723b_cmd.h | 4 +-
.../staging/rtl8723bs/include/rtl8723b_hal.h | 17 -
.../staging/rtl8723bs/include/rtl8723b_spec.h | 10 -
drivers/staging/rtl8723bs/include/rtw_mp.h | 3 -
.../staging/rtl8723bs/include/rtw_pwrctrl.h | 62 --
drivers/staging/rtl8723bs/include/rtw_recv.h | 5 -
.../staging/rtl8723bs/include/rtw_security.h | 3 -
drivers/staging/rtl8723bs/include/sdio_ops.h | 8 +-
drivers/staging/rtl8723bs/include/sta_info.h | 5 -
.../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 56 --
.../staging/rtl8723bs/os_dep/ioctl_linux.c | 3 -
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 238 +----
drivers/staging/rtl8723bs/os_dep/recv_linux.c | 8 -
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 5 -
26 files changed, 28 insertions(+), 1762 deletions(-)
--
2.20.1