Remove unused variable or macro or replace custom macro with standard kernel macro or function. Tested with rtl8192e Transferred this patch over wlan connection of rtl8192e Philipp Hortmann (9): staging: rtl8192e: Remove unused variable rtl819XAGCTAB_Array staging: rtl8192e: Remove double defined constants bMaskBytex and bMask.. staging: rtl8192e: Replace macro skb_tail_pointer_rsl with standard f. staging: rtl8192e: Remove unused macro queue_delayed_work_rsl and queu.. staging: rtl8192e: Replace macro INIT_DELAYED_WORK_RSL with standard m. staging: rtl8192e: Replace macro INIT_WORK_RSL with standard macro staging: rtl8192e: Replace macro container_of_work_rsl with standard f. staging: rtl8192e: Replace macro iwe_stream_add_event_rsl with standard f. staging: rtl8192e: Replace macro iwe_stream_add_point_rsl with standard f. .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 10 ----- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 38 +++++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 3 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 3 +- drivers/staging/rtl8192e/rtllib.h | 15 ------- drivers/staging/rtl8192e/rtllib_softmac.c | 23 ++++------ drivers/staging/rtl8192e/rtllib_softmac_wx.c | 3 +- drivers/staging/rtl8192e/rtllib_wx.c | 42 +++++++------------ 8 files changed, 41 insertions(+), 96 deletions(-) -- 2.39.2