staging: rtl8723au: Fold _rtw_free_network23a_queue23a() into rtw_free_network_queue23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:47 +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_mlme.c
drivers/staging/rtl8723au/include/rtw_mlme.h

index 381438c7da4987164509ffa3291fb1c2d1edb1ed..8ae2bbf590b2e434d56ce457410150a9768a67da 100644 (file)
@@ -220,7 +220,7 @@ exit:
        return pnetwork;
 }
 
-void _rtw_free_network23a_queue23a(struct rtw_adapter *padapter, u8 isfreeall)
+void rtw_free_network_queue23a(struct rtw_adapter *padapter, u8 isfreeall)
 {
        struct list_head *phead, *plist, *ptmp;
        struct wlan_network *pnetwork;
@@ -358,11 +358,6 @@ static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
        _rtw_free_network23a_nolock23a(pmlmepriv, pnetwork);
 }
 
-void rtw_free_network_queue23a(struct rtw_adapter* dev, u8 isfreeall)
-{
-       _rtw_free_network23a_queue23a(dev, isfreeall);
-}
-
 /*
  return the wlan_network with the matching addr
 
index dc52e9da7bf1ce4f9929ee9556a9e18654d7f598..29ffcbbd5764a0649e2752e21188ca58184c20c9 100644 (file)
@@ -461,8 +461,6 @@ void _rtw_free_network23a_nolock23a(struct mlme_priv *pmlmepriv,
 
 struct wlan_network *_rtw_find_network23a(struct rtw_queue *scanned_queue, u8 *addr);
 
-void _rtw_free_network23a_queue23a(struct rtw_adapter *padapter, u8 isfreeall);
-
 int rtw_if_up23a(struct rtw_adapter *padapter);
 
 int rtw_linked_check(struct rtw_adapter *padapter);