From: John B. Wyatt IV Date: Thu, 20 Jun 2013 06:56:45 +0000 (-0700) Subject: Staging: vt6655: aes_ccmp: fixed a brace coding style X-Git-Tag: v3.11-rc1~158^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b8d5e5b39a251b99a42cac8eccb268190ff3baf;p=thirdparty%2Fkernel%2Flinux.git Staging: vt6655: aes_ccmp: fixed a brace coding style Fixed a coding style issue. Signed-off-by: John B. Wyatt IV Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c index 93a2638a7ad55..fc056fc619951 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; - } }