fix post-commit checkpatch issue:
CHECK: Unnecessary parentheses around
'psecuritypriv->bcheck_grpkey == false'
24: FILE: drivers/staging/rtl8723bs/core/rtw_recv.c:381:
+ if ((psecuritypriv->
bcheck_grpkey == false) &&
+ (IS_MCAST(prxattrib->ra)
== true))
and fix same issue on second comparison
(IS_MCAST(prxattrib->ra) == true)
^ ^
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/eab39c58913d799dc90efb8b234c2a7fdb61ba57.1617545239.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
} else {
/* mic checked ok */
- if ((psecuritypriv->bcheck_grpkey == false) &&
- (IS_MCAST(prxattrib->ra) == true))
+ if (psecuritypriv->bcheck_grpkey == false &&
+ IS_MCAST(prxattrib->ra) == true)
psecuritypriv->bcheck_grpkey = true;
}
}