staging: vt6655: Merge three lines into one

This patch merges three lines into one, removing unecessary
if check.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tapasweni Pathak 2014-09-28 18:05:05 +05:30 committed by Greg Kroah-Hartman
parent f0cffbfe8c
commit fd7dcd3997

View File

@ -370,7 +370,5 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor
/* =>above is the dec-MIC from packet */ /* =>above is the dec-MIC from packet */
/* -------------------------------------------- */ /* -------------------------------------------- */
if (!memcmp(abyMIC, abyTmp, 8)) return !memcmp(abyMIC, abyTmp, 8);
return true;
return false;
} }