staging: rtl8188eu: Make _rtw_free_network() static
authornavin patidar <navin.patidar@gmail.com>
Sun, 13 Jul 2014 14:29:34 +0000 (19:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:28:59 +0000 (12:28 -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 fcd3f5ac55166a5fbfa297018482bc8d37734866..6cfb729b1917bc524573bb2e6355104c52d9f2dc 100644 (file)
@@ -194,7 +194,7 @@ exit:
        return pnetwork;
 }
 
-void _rtw_free_network(struct  mlme_priv *pmlmepriv , struct wlan_network *pnetwork, u8 isfreeall)
+static void _rtw_free_network(struct   mlme_priv *pmlmepriv , struct wlan_network *pnetwork, u8 isfreeall)
 {
        u32 curr_time, delta_time;
        u32 lifetime = SCANQUEUE_LIFETIME;
index 04d3b3d9ba571e24e4693cb3017ebdafdcdf02a6..e727cf0c8cd09fa40733b43a67c3a3200a1c291d 100644 (file)
@@ -575,9 +575,6 @@ struct wlan_network *_rtw_dequeue_network(struct __queue *queue);
 
 struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv);
 
-
-void _rtw_free_network(struct mlme_priv *pmlmepriv,
-                      struct wlan_network *pnetwork, u8 isfreeall);
 void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
                              struct wlan_network *pnetwork);