From: Tapasweni Pathak Date: Mon, 22 Sep 2014 09:20:45 +0000 (+0530) Subject: staging: vt6655: remove unnecessary else after return X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf329e54b34ed1f0d5e69e67c6622995997777cb;p=linux-beck.git 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 --- diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c index a25e6cf844ed..b619bc0f12d7 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; }