mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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:
parent
f0cffbfe8c
commit
fd7dcd3997
@ -370,7 +370,5 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor
|
||||
/* =>above is the dec-MIC from packet */
|
||||
/* -------------------------------------------- */
|
||||
|
||||
if (!memcmp(abyMIC, abyTmp, 8))
|
||||
return true;
|
||||
return false;
|
||||
return !memcmp(abyMIC, abyTmp, 8);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user