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 93a2638..fc056fc 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;
-       }
 }