Skip to contentSkip to conversation

Staging: vt6655: aes_ccmp: fixed a brace coding style

PATCH New John B. Wyatt IV 1 participant 1 message Jun 20, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: vt6655: aes_ccmp: fixed a brace coding style

From: "John B. Wyatt IV" <[email protected]>

Fixed a coding style issue.

---
 drivers/staging/vt6655/aes_ccmp.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/vt6655/aes_ccmp.c +2 -3
index 3608148..c53478f 100644
@@ -381,9 +381,8 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor
 	//=>above is the dec-MIC from packet
 	//--------------------------------------------
 
-	if (!memcmp(abyMIC, abyTmp, 8)) {
+	if (!memcmp(abyMIC, abyTmp, 8))
 		return true;
-	} else {
+	else
 		return false;
-	}
 }
Signature · 1 line
1.8.1.2