mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: vt6655: aes_ccmp: fixed a brace coding style
@ 2013-06-20  6:56 John B. Wyatt IV
  0 siblings, 0 replies; only message in thread
From: John B. Wyatt IV @ 2013-06-20  6:56 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, John B. Wyatt IV

From: "John B. Wyatt IV" <sageofredondo@gmail.com>

Fixed a coding style issue.

Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
---
 drivers/staging/vt6655/aes_ccmp.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c
index 3608148..c53478f 100644
--- a/drivers/staging/vt6655/aes_ccmp.c
+++ b/drivers/staging/vt6655/aes_ccmp.c
@@ -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;
-	}
 }
-- 
1.8.1.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-20  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-20  6:56 [PATCH] Staging: vt6655: aes_ccmp: fixed a brace coding style John B. Wyatt IV

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®