Skip to contentSkip to conversation

Staging: rtl8712: Fixes brace coding style in rtl871x_sta_mgt.c

PATCH New Paul Hedman 1 participant 1 message Dec 3, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8712: Fixes brace coding style in rtl871x_sta_mgt.c

This patch fixes a brace warning in rtl871x_sta_mgt.c found by the checkpatch.pl tool.

---
 drivers/staging/rtl8712/rtl871x_sta_mgt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8712/rtl871x_sta_mgt.c +1 -2
index 4c9b98e..de8acc1 100644
@@ -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);
 }
Signature · 1 line
2.1.0