Staging: rtl8712: Fixes brace coding style in rtl871x_sta_mgt.c
authorPaul Hedman <paul@mybboard.net>
Wed, 3 Dec 2014 02:34:13 +0000 (20:34 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jan 2015 03:54:17 +0000 (19:54 -0800)
This patch fixes a brace warning in rtl871x_sta_mgt.c found
by the checkpatch.pl tool.

Signed-off-by: Paul Hedman <paul@mybb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_sta_mgt.c

index 4c9b98e8210e71a3e290c42020daed80fb7ee6dd..de8acc15626bb28cf30c8a5db9ff764f30f28577 100644 (file)
@@ -83,9 +83,8 @@ static void mfree_all_stainfo(struct sta_priv *pstapriv)
        spin_lock_irqsave(&pstapriv->sta_hash_lock, irqL);
        phead = &pstapriv->free_sta_queue.queue;
        plist = phead->next;
-       while ((end_of_queue_search(phead, plist)) == false) {
+       while ((end_of_queue_search(phead, plist)) == false)
                plist = plist->next;
-       }
 
        spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL);
 }