Remove unchanged/unused variables and resulting dead code in conjunction with the state machine of rf_power_state. Tested with rtl8192e (WLL6130-D99) Transferred this patch over wlan connection of rtl8192e Philipp Hortmann (8): staging: rtl8192e: Remove unchanged variable RegRfPsLevel staging: rtl8192e: Remove unused function rtl92e_disable_nic staging: rtl8192e: Remove unused macro RT_SET_PS_LEVEL staging: rtl8192e: Remove second initialization of bActuallySet staging: rtl8192e: Remove set to true while true of bfirst_after_down staging: rtl8192e: Remove unchanged variable chan_forced staging: rtl8192e: Remove unchanged variable frame_sync_monitor staging: rtl8192e: Remove unchanged variables bfsync_processing and more .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 9 +-- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 20 ----- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 7 -- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 80 +++++++------------ drivers/staging/rtl8192e/rtllib.h | 2 - 5 files changed, 32 insertions(+), 86 deletions(-) -- 2.40.0