From: Fabio Aiuto Date: Sun, 4 Apr 2021 14:09:38 +0000 (+0200) Subject: staging: rtl8723bs: remove unnecessary parentheses in core/rtw_recv.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e7157733a27087388458e4ed6700b92e19bcd89;p=linux.git staging: rtl8723bs: remove unnecessary parentheses in core/rtw_recv.c 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 Link: https://lore.kernel.org/r/eab39c58913d799dc90efb8b234c2a7fdb61ba57.1617545239.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index c8a13d733c987..bf53695f9f7d3 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -378,8 +378,8 @@ static signed int recvframe_chkmic(struct adapter *adapter, union recv_frame *p } 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; } }