staging: rtl8723au: rtw_sta_mgt.c: Fix some formatting badness
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:43 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:59 +0000 (13:11 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_sta_mgt.c

index 53dd320..656eb0f 100644 (file)
@@ -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);