staging: rtl8723au: rtw_free_network_queue23a() eliminate unused argument 'isfreeall'
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:51 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:22 +0000 (10:16 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/rtw_mlme.h
drivers/staging/rtl8723au/os_dep/os_intfs.c
drivers/staging/rtl8723au/os_dep/usb_intf.c

index c87671b..5b3ac69 100644 (file)
@@ -417,7 +417,7 @@ u8 rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter,
                return _FAIL;
        }
 
-       rtw_free_network_queue23a(padapter, false);
+       rtw_free_network_queue23a(padapter);
 
        RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_,
                 ("%s: flush network queue\n", __func__));
index aff4123..b39945e 100644 (file)
@@ -214,7 +214,7 @@ exit:
        return pnetwork;
 }
 
-void rtw_free_network_queue23a(struct rtw_adapter *padapter, u8 isfreeall)
+void rtw_free_network_queue23a(struct rtw_adapter *padapter)
 {
        struct list_head *phead, *plist, *ptmp;
        struct wlan_network *pnetwork;
index b1aca7d..744c15b 100644 (file)
@@ -345,7 +345,7 @@ void rtw_cpwm_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf);
 int event_thread(void *context);
 void rtw23a_join_to_handler(unsigned long);
 
-void rtw_free_network_queue23a(struct rtw_adapter *adapter, u8 isfreeall);
+void rtw_free_network_queue23a(struct rtw_adapter *adapter);
 int rtw_init_mlme_priv23a(struct rtw_adapter *adapter);
 
 void rtw_free_mlme_priv23a(struct mlme_priv *pmlmepriv);
index 25fce30..7c4c0a5 100644 (file)
@@ -861,7 +861,7 @@ static int netdev_close(struct net_device *pnetdev)
                /* s2-3. */
                rtw_free_assoc_resources23a(padapter, 1);
                /* s2-4. */
-               rtw_free_network_queue23a(padapter, true);
+               rtw_free_network_queue23a(padapter);
                /*  Close LED */
                rtw_led_control(padapter, LED_CTL_POWER_OFF);
        }
index 797393a..7d5233b 100644 (file)
@@ -396,7 +396,7 @@ int rtw_hw_suspend23a(struct rtw_adapter *padapter)
                rtw_free_assoc_resources23a(padapter, 1);
 
                /* s2-4. */
-               rtw_free_network_queue23a(padapter, true);
+               rtw_free_network_queue23a(padapter);
                rtw_ips_dev_unload23a(padapter);
                pwrpriv->rf_pwrstate = rf_off;
                pwrpriv->bips_processing = false;
@@ -500,7 +500,7 @@ static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message)
        /* s2-3. */
        rtw_free_assoc_resources23a(padapter, 1);
        /* s2-4. */
-       rtw_free_network_queue23a(padapter, true);
+       rtw_free_network_queue23a(padapter);
 
        rtw_dev_unload(padapter);
        up(&pwrpriv->lock);