[PATCH 00/17] staging: rtl8723bs: Remove unused functions including read_cam

Philipp Hortmann posted 17 patches 2 months, 2 weeks ago
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(-)
[PATCH 00/17] staging: rtl8723bs: Remove unused functions including read_cam
Posted by Philipp Hortmann 2 months, 2 weeks ago
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
Re: [PATCH 00/17] staging: rtl8723bs: Remove unused functions including read_cam
Posted by Dan Carpenter 2 months, 2 weeks ago
On Sun, Sep 15, 2024 at 08:38:14AM +0200, Philipp Hortmann wrote:
> 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

Thanks Philipp!

Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>

regards,
dan carpenter