mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +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…
Reference in New Issue
Block a user