From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:50 +0000 (+0200) Subject: staging: rtl8723au: _rtw_free_network23a(): Remove unused argument 'isfreeall' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ccac5f60002ff7521fd3fc602640f31da8cb580;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: _rtw_free_network23a(): Remove unused argument 'isfreeall' 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 93be98a49398..aff4123983b2 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme.c @@ -147,7 +147,7 @@ struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv) } static void _rtw_free_network23a(struct mlme_priv *pmlmepriv, - struct wlan_network *pnetwork, u8 isfreeall) + struct wlan_network *pnetwork) { if (!pnetwork) return; @@ -228,7 +228,7 @@ void rtw_free_network_queue23a(struct rtw_adapter *padapter, u8 isfreeall) list_for_each_safe(plist, ptmp, phead) { pnetwork = container_of(plist, struct wlan_network, list); - _rtw_free_network23a(pmlmepriv,pnetwork, isfreeall); + _rtw_free_network23a(pmlmepriv, pnetwork); } spin_unlock_bh(&scanned_queue->lock);