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 V2 has one patch less as it was already accepted. --- V1->V2: Changed subject lines to be without “f.”, "m." or ".." Changed one description from standard function to standard macro Philipp Hortmann (8): staging: rtl8192e: Remove double defined constants bMaskBytex and more staging: rtl8192e: Replace macro skb_tail_pointer_rsl with standard function staging: rtl8192e: Remove unused macro queue_delayed_work_rsl and more staging: rtl8192e: Replace macro INIT_DELAYED_WORK_RSL with standard macro staging: rtl8192e: Replace macro INIT_WORK_RSL with standard macro staging: rtl8192e: Replace macro container_of_work_rsl with standard macro staging: rtl8192e: Replace macro iwe_stream_add_event_rsl with standard function staging: rtl8192e: Replace macro iwe_stream_add_point_rsl with standard function .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 8 ---- 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(+), 94 deletions(-) -- 2.39.2