staging: rtl8188eu: Rename _rtw_init_mlme_priv() to rtw_init_mlme_priv()
authornavin patidar <navin.patidar@gmail.com>
Sun, 13 Jul 2014 14:29:38 +0000 (19:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:29:47 +0000 (12:29 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/include/rtw_mlme.h

index 7293589b6f1c23e966bc795147e0ca21cb88da2e..c15fab21aecf21e65819a611249ae453ab399d0d 100644 (file)
@@ -35,7 +35,7 @@
 extern unsigned char   MCS_rate_2R[16];
 extern unsigned char   MCS_rate_1R[16];
 
-int _rtw_init_mlme_priv(struct adapter *padapter)
+int rtw_init_mlme_priv(struct adapter *padapter)
 {
        int     i;
        u8      *pbuf;
@@ -302,13 +302,6 @@ u8 *rtw_get_beacon_interval_from_ie(u8 *ie)
        return ie + 8;
 }
 
-int rtw_init_mlme_priv(struct adapter *padapter)
-{
-       int     res;
-       res = _rtw_init_mlme_priv(padapter);/*  (pmlmepriv); */
-       return res;
-}
-
 static struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv)
 {
        return _rtw_alloc_network(pmlmepriv);
index 2a828ec1fd5e5dd798e670ee76c3e860ad67407b..5b1fcd27f447194543d3e90943bcae4e10be5d22 100644 (file)
@@ -562,9 +562,6 @@ void rtw_dynamic_check_timer_handlder(struct adapter *adapter);
 #define rtw_set_scan_deny_timer_hdl(adapter) do {} while (0)
 #define rtw_set_scan_deny(adapter, ms) do {} while (0)
 
-
-int _rtw_init_mlme_priv(struct adapter *padapter);
-
 void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
 
 struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv);