]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/vt6655/aes_ccmp.c
Staging: vt6655: aes_ccmp: fixed a brace coding style
[karo-tx-linux.git] / 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;
-       }
 }