Staging: vt6655: aes_ccmp: fixed a brace coding style
authorJohn B. Wyatt IV <sageofredondo@gmail.com>
Thu, 20 Jun 2013 06:56:45 +0000 (23:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 22:57:40 +0000 (15:57 -0700)
Fixed a coding style issue.

Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/aes_ccmp.c

index 93a2638a7ad55dbbd7b821acc4db45d4454b2834..fc056fc6199516cfe7d7f63fdecd5548e9f2e72f 100644 (file)
@@ -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;
-       }
 }