rtlwifi: rtl8723ae: fix comparison pointer to bool warning in phy.c
authorZheng Bin <zhengbin13@huawei.com>
Thu, 10 Sep 2020 14:16:42 +0000 (22:16 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 16 Sep 2020 06:12:11 +0000 (09:12 +0300)
commitf26506f06bf8940d2e6076348b47b59df81c75f6
tree9738ca0ff6402b36011b737a946b4723ff670b73
parent9d886ac4397e5f56d37d31a6062e39f5dffcebcd
rtlwifi: rtl8723ae: fix comparison pointer to bool warning in phy.c

Fixes coccicheck warning:

drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:191:5-13: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:205:5-13: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:211:5-13: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c:625:5-30: WARNING: Comparison to bool

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200910141642.127006-4-zhengbin13@huawei.com
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c