aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2014-09-22 14:50:45 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 13:41:15 -0700
commitcf329e54b34ed1f0d5e69e67c6622995997777cb (patch)
tree6cdad74dff08aa5c99fb3b722aa22fb86c57e2d7
parentStaging: vt6656: Merges two lines of code and also removes unused variable (diff)
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 <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6655/aes_ccmp.c3
1 files changed, 1 insertions, 2 deletions
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;
}