staging: rtl8723au: Fold _rtw_free_mlme_priv23a() into rtw_free_mlme_priv23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:44:47 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:04:09 +0000 (11:04 -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

index 34d2164f1dd8fd8c176de97ec76a94c2833990ec..14c4196e7d1f496ea71c7bf4f6f519b883967056 100644 (file)
@@ -121,8 +121,11 @@ void rtw23a_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
 #endif
 }
 
-void _rtw_free_mlme_priv23a(struct mlme_priv *pmlmepriv)
+void rtw_free_mlme_priv23a(struct mlme_priv *pmlmepriv)
 {
+       RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
+                ("rtw_free_mlme_priv23a\n"));
+
        rtw23a_free_mlme_priv_ie_data(pmlmepriv);
 }
 
@@ -301,13 +304,6 @@ int rtw_init_mlme_priv23a (struct rtw_adapter *padapter)
        return res;
 }
 
-void rtw_free_mlme_priv23a (struct mlme_priv *pmlmepriv)
-{
-       RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
-                ("rtw_free_mlme_priv23a\n"));
-       _rtw_free_mlme_priv23a(pmlmepriv);
-}
-
 void rtw_free_network(struct mlme_priv *pmlmepriv,
                      struct wlan_network *pnetwork, u8 is_freeall)
 {