staging: rtl8188eu: Remove unused function _rtw_dequeue_network()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fe80537a5c
commit
4b5a1c16ba
|
@ -142,25 +142,6 @@ exit:
|
|||
return _SUCCESS;
|
||||
}
|
||||
|
||||
struct wlan_network *_rtw_dequeue_network(struct __queue *queue)
|
||||
{
|
||||
struct wlan_network *pnetwork;
|
||||
|
||||
spin_lock_bh(&queue->lock);
|
||||
|
||||
if (list_empty(&queue->queue)) {
|
||||
pnetwork = NULL;
|
||||
} else {
|
||||
pnetwork = container_of((&queue->queue)->next, struct wlan_network, list);
|
||||
|
||||
list_del_init(&(pnetwork->list));
|
||||
}
|
||||
|
||||
spin_unlock_bh(&queue->lock);
|
||||
|
||||
return pnetwork;
|
||||
}
|
||||
|
||||
struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv)/* _queue *free_queue) */
|
||||
{
|
||||
struct wlan_network *pnetwork;
|
||||
|
|
|
@ -571,8 +571,6 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
|
|||
|
||||
int _rtw_enqueue_network(struct __queue *queue, struct wlan_network *pnetwork);
|
||||
|
||||
struct wlan_network *_rtw_dequeue_network(struct __queue *queue);
|
||||
|
||||
struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv);
|
||||
|
||||
void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
|
||||
|
|
Loading…
Reference in a new issue