staging: rtl8192e: Remove softmac_hint11d_wq queue
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mon, 15 Jun 2015 19:06:09 +0000 (21:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:37:21 +0000 (21:37 -0700)
This queue is never used, and function handler is empty

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index f3a4bbc..74c2a28 100644 (file)
@@ -1794,7 +1794,6 @@ struct rtllib_device {
        struct work_struct ips_leave_wq;
        struct delayed_work associate_procedure_wq;
        struct delayed_work softmac_scan_wq;
-       struct delayed_work softmac_hint11d_wq;
        struct delayed_work associate_retry_wq;
        struct delayed_work start_ibss_wq;
        struct delayed_work hw_wakeup_wq;
index 6d11205..3f4a932 100644 (file)
@@ -492,10 +492,6 @@ void rtllib_send_probe_requests(struct rtllib_device *ieee, u8 is_mesh)
        }
 }
 
-static void rtllib_softmac_hint11d_wq(void *data)
-{
-}
-
 void rtllib_update_active_chan_map(struct rtllib_device *ieee)
 {
        memcpy(ieee->active_channel_map, GET_DOT11D_INFO(ieee)->channel_map,
@@ -3045,8 +3041,6 @@ void rtllib_softmac_init(struct rtllib_device *ieee)
                              (void *)rtllib_associate_procedure_wq, ieee);
        INIT_DELAYED_WORK_RSL(&ieee->softmac_scan_wq,
                              (void *)rtllib_softmac_scan_wq, ieee);
-       INIT_DELAYED_WORK_RSL(&ieee->softmac_hint11d_wq,
-                             (void *)rtllib_softmac_hint11d_wq, ieee);
        INIT_DELAYED_WORK_RSL(&ieee->associate_retry_wq,
                              (void *)rtllib_associate_retry_wq, ieee);
        INIT_WORK_RSL(&ieee->wx_sync_scan_wq, (void *)rtllib_wx_sync_scan_wq,