From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:47 +0000 (+0200) Subject: staging: rtl8723au: Fold _rtw_free_network23a_queue23a() into rtw_free_network_queue23a() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c47af2280ce431f17f0dd615766153935b62be6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: Fold _rtw_free_network23a_queue23a() into rtw_free_network_queue23a() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- 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);