summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorJohn B. Wyatt IV <sageofredondo@gmail.com>2013-06-20 06:56:45 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-24 22:57:40 (GMT)
commit2b8d5e5b39a251b99a42cac8eccb268190ff3baf (patch)
treec7d74ddbcd4f4b010f20497a832ad7ed00c819bc /drivers/staging/vt6655
parent34fbb97c07fce301164d5902639d04ce4f6f3fd5 (diff)
downloadlinux-fsl-qoriq-2b8d5e5b39a251b99a42cac8eccb268190ff3baf.tar.xz
Staging: vt6655: aes_ccmp: fixed a brace coding style
Fixed a coding style issue. Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/aes_ccmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c
index 93a2638..fc056fc 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;
- }
}