From: Tapasweni Pathak Date: Mon, 22 Sep 2014 09:20:45 +0000 (+0530) Subject: staging: vt6655: remove unnecessary else after return X-Git-Tag: v5.15~17125^2~246 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf329e54b34ed1f0d5e69e67c6622995997777cb;p=platform%2Fkernel%2Flinux-starfive.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 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; }