[PATCH v1 0/3] staging: rtl8723bs: remove unused diagnostic

Ethan Tidmore posted 3 patches 1 week, 3 days ago
There is a newer version of this series
drivers/staging/rtl8723bs/core/rtw_mlme.c     | 12 -----
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c |  3 --
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c  |  6 +--
drivers/staging/rtl8723bs/core/rtw_recv.c     | 23 +--------
.../staging/rtl8723bs/hal/rtl8723b_hal_init.c |  4 --
drivers/staging/rtl8723bs/hal/sdio_halinit.c  |  8 +---
drivers/staging/rtl8723bs/include/drv_types.h | 41 ----------------
drivers/staging/rtl8723bs/os_dep/os_intfs.c   | 14 ++----
drivers/staging/rtl8723bs/os_dep/sdio_intf.c  | 48 +++++--------------
9 files changed, 17 insertions(+), 142 deletions(-)
[PATCH v1 0/3] staging: rtl8723bs: remove unused diagnostic
Posted by Ethan Tidmore 1 week, 3 days ago
This series performs a driver-wide audit and cleanup of dead diagnostic 
code within the rtl8723bs staging driver.

The vendor-originated code included a variety of diagnostic counters 
housed within 'struct debug_priv'. These counters were updated 
throughout the driver's hot paths—including MLME, receive, power 
control, and SDIO allocation—but were never read, exposed via 
debugfs, or utilized for any internal logic.

Patch 1: Removes unused RX info reset logic and associated counters.
Patch 2: Removes dead RX sequence gap calculation logic.
Patch 3: Performs a final scrub of 'struct debug_priv' and all 
         remaining write-only counters throughout the driver.

Ethan Tidmore (3):
  staging: rtl8723bs: remove dead RX info reset logic
  staging: rtl8723bs: remove dead RX sequence logic
  staging: rtl8723bs: remove unused struct debug_priv and all counters

 drivers/staging/rtl8723bs/core/rtw_mlme.c     | 12 -----
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c |  3 --
 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c  |  6 +--
 drivers/staging/rtl8723bs/core/rtw_recv.c     | 23 +--------
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c |  4 --
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  |  8 +---
 drivers/staging/rtl8723bs/include/drv_types.h | 41 ----------------
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   | 14 ++----
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c  | 48 +++++--------------
 9 files changed, 17 insertions(+), 142 deletions(-)

-- 
2.52.0