From cf329e54b34ed1f0d5e69e67c6622995997777cb Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Mon, 22 Sep 2014 14:50:45 +0530 Subject: [PATCH] staging: vt6655: remove unnecessary else after return This patch fixes checkpatch.pl warning in aes_ccmp.c file WARNING : else is not generally useful after a break or return Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/aes_ccmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c index a25e6cf..b619bc0 100644 --- a/drivers/staging/vt6655/aes_ccmp.c +++ b/drivers/staging/vt6655/aes_ccmp.c @@ -372,6 +372,5 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor if (!memcmp(abyMIC, abyTmp, 8)) return true; - else - return false; + return false; } -- 2.7.4