From: Paul Hedman Date: Wed, 3 Dec 2014 02:34:13 +0000 (-0600) Subject: Staging: rtl8712: Fixes brace coding style in rtl871x_sta_mgt.c X-Git-Tag: v4.0-rc1~82^2~480 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3002b1a60181ae628bce068733c873fe6575ee99;p=karo-tx-linux.git 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. Signed-off-by: Paul Hedman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/rtl871x_sta_mgt.c b/drivers/staging/rtl8712/rtl871x_sta_mgt.c index 4c9b98e8210e..de8acc15626b 100644 --- a/drivers/staging/rtl8712/rtl871x_sta_mgt.c +++ b/drivers/staging/rtl8712/rtl871x_sta_mgt.c @@ -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); }