From: Jes Sorensen Date: Fri, 9 May 2014 13:03:43 +0000 (+0200) Subject: staging: rtl8723au: rtw_sta_mgt.c: Fix some formatting badness X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~978 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b06106d1053216406bc772c6a0760e1c6b92c214;p=firefly-linux-kernel-4.4.55.git staging: rtl8723au: rtw_sta_mgt.c: Fix some formatting badness Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_sta_mgt.c b/drivers/staging/rtl8723au/core/rtw_sta_mgt.c index 53dd3207ecef..656eb0f28dd3 100644 --- a/drivers/staging/rtl8723au/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8723au/core/rtw_sta_mgt.c @@ -384,9 +384,11 @@ void rtw_free_all_stainfo23a(struct rtw_adapter *padapter) { struct list_head *plist, *phead, *ptmp; struct sta_info *psta; - struct sta_priv *pstapriv = &padapter->stapriv; + struct sta_priv *pstapriv = &padapter->stapriv; struct sta_info* pbcmc_stainfo = rtw_get_bcmc_stainfo23a(padapter); - s32 index; if (pstapriv->asoc_sta_count == 1) + s32 index; + + if (pstapriv->asoc_sta_count == 1) return; spin_lock_bh(&pstapriv->sta_hash_lock);