From 8c47af2280ce431f17f0dd615766153935b62be6 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Sat, 26 Apr 2014 18:55:47 +0200 Subject: [PATCH] staging: rtl8723au: Fold _rtw_free_network23a_queue23a() into rtw_free_network_queue23a() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/core/rtw_mlme.c | 7 +------ drivers/staging/rtl8723au/include/rtw_mlme.h | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 381438c7da49..8ae2bbf590b2 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme.c @@ -220,7 +220,7 @@ exit: return pnetwork; } -void _rtw_free_network23a_queue23a(struct rtw_adapter *padapter, u8 isfreeall) +void rtw_free_network_queue23a(struct rtw_adapter *padapter, u8 isfreeall) { struct list_head *phead, *plist, *ptmp; struct wlan_network *pnetwork; @@ -358,11 +358,6 @@ static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv, _rtw_free_network23a_nolock23a(pmlmepriv, pnetwork); } -void rtw_free_network_queue23a(struct rtw_adapter* dev, u8 isfreeall) -{ - _rtw_free_network23a_queue23a(dev, isfreeall); -} - /* return the wlan_network with the matching addr diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h index dc52e9da7bf1..29ffcbbd5764 100644 --- a/drivers/staging/rtl8723au/include/rtw_mlme.h +++ b/drivers/staging/rtl8723au/include/rtw_mlme.h @@ -461,8 +461,6 @@ void _rtw_free_network23a_nolock23a(struct mlme_priv *pmlmepriv, struct wlan_network *_rtw_find_network23a(struct rtw_queue *scanned_queue, u8 *addr); -void _rtw_free_network23a_queue23a(struct rtw_adapter *padapter, u8 isfreeall); - int rtw_if_up23a(struct rtw_adapter *padapter); int rtw_linked_check(struct rtw_adapter *padapter); -- 2.20.1