[PATCH 00/10] staging: rtl8192e: Remove unused and unchanged variables in rtl_ps.c

From: Philipp Hortmann
Date: Sat Oct 01 2022 - 05:40:31 EST


Remove unchanged and unused CamelCase variables that lead to dead code.

Tested with rtl8192e
Transferred this patch over wlan connection of rtl8192e

Philipp Hortmann (10):
staging: rtl8192e: Remove unchanged variable bFwCtrlLPS
staging: rtl8192e: Remove unchanged variable bInactivePs
staging: rtl8192e: Remove unused variable bIPSModeBackup
staging: rtl8192e: Remove unused variable bInPowerSaveMode
staging: rtl8192e: Remove unused variable isRFOff
staging: rtl8192e: Remove unchanged variable RegRfOff
staging: rtl8192e: Remove unchanged variable bDisableNormalResetCheck
staging: rtl8192e: Remove unused variable bForcedSilentReset
staging: rtl8192e: Remove unused variable ScanDelay
staging: rtl8192e: Remove unused variable bDriverIsGoingToUnload

.../staging/rtl8192e/rtl8192e/r8192E_dev.c | 8 +--
.../staging/rtl8192e/rtl8192e/r8192E_phy.c | 1 -
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 18 +++---
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 20 +-----
drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 9 ---
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 61 +++++++------------
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 48 +++++++--------
drivers/staging/rtl8192e/rtllib.h | 6 --
8 files changed, 55 insertions(+), 116 deletions(-)

--
2.37.3