Staging: rtl8723bs: hal: Fix comparison to bool in if statements
authorPuranjay Mohan <puranjay12@gmail.com>
Thu, 16 May 2019 09:11:40 +0000 (14:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 05:40:43 +0000 (07:40 +0200)
commit941add8e3e63a46bbb245abc9f9664aaaa4bb4da
tree821025750cdedc3c7a1d95d2cc68d2f09a9bbc5a
parent2f9dcc46c626f32a484278c0fefae4ee49b5c1d5
Staging: rtl8723bs: hal: Fix comparison to bool in if statements

Fix following warnings reported by coccicheck:
WARNING: Comparison to bool
by using !x in place of (x == false) and
x in place of (x == true).

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c
drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
drivers/staging/rtl8723bs/hal/hal_com.c
drivers/staging/rtl8723bs/hal/odm_DIG.c