[PATCH 00/11] staging: rtl8192e: Remove unused variable ucReserved and further

From: Philipp Hortmann
Date: Mon Oct 23 2023 - 02:39:34 EST


Replace custom macros with standard kernel macros.
Remove unused variables.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
Transferred this patch over wlan connection of rtl8192e.

Philipp Hortmann (11):
staging: rtl8192e: Replace BIT0 to BIT9 with BIT(0) to BIT(9)
staging: rtl8192e: Replace BIT10 to BIT31 with BIT(10) to BIT(31)
staging: rtl8192e: Remove unused variables ucReserved and friends
staging: rtl8192e: Remove written but unevaluated variable ucUP
staging: rtl8192e: Remove unused variables from union tspec_body
staging: rtl8192e: Replace union tspec_body including embedded struct
staging: rtl8192e: Replace union qos_tsinfo with embedded struct
staging: rtl8192e: Remove unused struct acm
staging: rtl8192e: Remove last three parameters of MakeTSEntry()
staging: rtl8192e: Remove unused union qos_tclas
staging: rtl8192e: Remove unused variables TClasProc and TClasNum

drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 104 +++++++-------
.../staging/rtl8192e/rtl8192e/r8192E_phy.c | 4 +-
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 8 +-
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 22 +--
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c | 2 +-
drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +-
drivers/staging/rtl8192e/rtl819x_Qos.h | 129 +-----------------
drivers/staging/rtl8192e/rtl819x_TS.h | 5 +-
drivers/staging/rtl8192e/rtl819x_TSProc.c | 42 ++----
drivers/staging/rtl8192e/rtllib.h | 12 +-
10 files changed, 92 insertions(+), 238 deletions(-)

--
2.42.0