All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8188eu: core: rtw_mlme.c: Fix unbalanced braces around else.
@ 2019-03-18 12:59 Sanjana Sanikommu
  2019-03-18 13:55 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjana Sanikommu @ 2019-03-18 12:59 UTC (permalink / raw)
  To: gregkh; +Cc: outreachy-kernel

Fix unbalanced braces after else statement.
Issue found by checkpatch.pl semantic patch results for rtw_mlme.c

CHECK: Unbalanced braces around else statement.

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_mlme.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c
index ca0cf8a86671..cbee02a86d22 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme.c
@@ -1111,9 +1111,9 @@ static u8 search_max_mac_id(struct adapter *padapter)
 				break;
 		}
 		mac_id = aid + 1;
-	} else
+	} else {
 #endif
-	{/* adhoc  id =  31~2 */
+/* adhoc  id =  31~2 */
 		for (mac_id = NUM_STA-1; mac_id >= IBSS_START_MAC_ID; mac_id--) {
 			if (pmlmeinfo->FW_sta_info[mac_id].status == 1)
 				break;
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-18 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-18 12:59 [PATCH] Staging: rtl8188eu: core: rtw_mlme.c: Fix unbalanced braces around else Sanjana Sanikommu
2019-03-18 13:55 ` Greg KH
2019-03-18 14:18   ` sanjana99reddy99

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.