提交 fd7dcd39 编写于 作者: T Tapasweni Pathak 提交者: Greg Kroah-Hartman

staging: vt6655: Merge three lines into one

This patch merges three lines into one, removing unecessary
if check.
Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: NHimangi Saraogi <himangi774@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f0cffbfe
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册