]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove unnecessary parentheses in core/rtw_recv.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sun, 4 Apr 2021 14:09:38 +0000 (16:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Apr 2021 10:16:16 +0000 (12:16 +0200)
commit40f0545bc41ed89c91e680a3ef3d3b0f6c0204c7
treec35aba90a5d8b4cd1202fb9336a4d10b60ff1c04
parentb9a2a402412710d3a5b922408938b0fcfaf5a535
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 <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/eab39c58913d799dc90efb8b234c2a7fdb61ba57.1617545239.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c