Commit 15c1843d authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman

staging: rtl8712: Replace function r8712_free_network_queue

Remove function r8712_free_network_queue, as it does nothing but call
_free_network queue; rename _free_network_queue to
r8712_free_network_queue to enable continued functionality; change the
type of r8712_free_network_queue (formerly _free_network_queue) from
static to non-static to match the type of the old
r8712_free_network_queue.
Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ca039163
...@@ -151,7 +151,7 @@ static struct wlan_network *_r8712_find_network(struct __queue *scanned_queue, ...@@ -151,7 +151,7 @@ static struct wlan_network *_r8712_find_network(struct __queue *scanned_queue,
return pnetwork; return pnetwork;
} }
static void _free_network_queue(struct _adapter *padapter) void r8712_free_network_queue(struct _adapter *padapter)
{ {
unsigned long irqL; unsigned long irqL;
struct list_head *phead, *plist; struct list_head *phead, *plist;
...@@ -215,11 +215,6 @@ static struct wlan_network *alloc_network(struct mlme_priv *pmlmepriv) ...@@ -215,11 +215,6 @@ static struct wlan_network *alloc_network(struct mlme_priv *pmlmepriv)
return _r8712_alloc_network(pmlmepriv); return _r8712_alloc_network(pmlmepriv);
} }
void r8712_free_network_queue(struct _adapter *dev)
{
_free_network_queue(dev);
}
/* /*
* return the wlan_network with the matching addr * return the wlan_network with the matching addr
* Shall be called under atomic context... * Shall be called under atomic context...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment