staging: rtl8188eu: Remove unused function _rtw_enqueue_network()
authornavin patidar <navin.patidar@gmail.com>
Sun, 13 Jul 2014 14:29:36 +0000 (19:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:29:46 +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 5ab675205733688db19ad774f1ed9145218642f5..2aafac3df2bbc5a1b3dfec45899a47a6a5572938 100644 (file)
@@ -127,21 +127,6 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
        }
 }
 
-int    _rtw_enqueue_network(struct __queue *queue, struct wlan_network *pnetwork)
-{
-       if (pnetwork == NULL)
-               goto exit;
-
-       spin_lock_bh(&queue->lock);
-
-       list_add_tail(&pnetwork->list, &queue->queue);
-
-       spin_unlock_bh(&queue->lock);
-
-exit:
-       return _SUCCESS;
-}
-
 struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv)/* _queue *free_queue) */
 {
        struct  wlan_network    *pnetwork;
index a234e8d893015502490f388b6838a0bfef46f8e7..13f87029eb78c8f4776ca05d3e3166275e8bda8c 100644 (file)
@@ -569,8 +569,6 @@ void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
 
 void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
 
-int _rtw_enqueue_network(struct __queue *queue, struct wlan_network *pnetwork);
-
 struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv);
 
 void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,