Skip to contentSkip to conversation

Staging: rtl8188eu: Remove braces from single statement block

PATCH New Vatika Harlalka 1 participant 1 message Feb 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8188eu: Remove braces from single statement block

Remove braces from single statement if condition
to follow kernel coding convention.

---
Changes in v2: Added "Staging: rtl8188eu:" to message subject.

 drivers/staging/rtl8188eu/hal/fw.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8188eu/hal/fw.c +1 -2
index 3b28754..a71c542 100644
@@ -154,9 +154,8 @@ static int _rtl88e_fw_free_to_go(struct adapter *adapt)
 			break;
 	} while (counter++ < POLLING_READY_TIMEOUT_COUNT);
 
-	if (counter >= POLLING_READY_TIMEOUT_COUNT) {
+	if (counter >= POLLING_READY_TIMEOUT_COUNT)
 		goto exit;
-	}
 
 	value32 = usb_read32(adapt, REG_MCUFWDL);
 	value32 |= MCUFWDL_RDY;
Signature · 1 line
1.9.1