]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtlwifi: rtl8821ae: fix comparison to bool warning in phy.c
authorZheng Bin <zhengbin13@huawei.com>
Fri, 18 Sep 2020 10:25:01 +0000 (18:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 21 Sep 2020 13:02:45 +0000 (16:02 +0300)
commit07cc5f0345ae9f8d98c7e0d55fafceb8ca868004
treeffdc100e5aeddaa2ea901e20a3b17746a253c7b1
parentd87a8d4d5eef9f715dafeacc324fba7294b5d5d1
rtlwifi: rtl8821ae: fix comparison to bool warning in phy.c

Fixes coccicheck warning:

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1816:5-13: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1825:5-13: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:1839:5-13: WARNING: Comparison to bool

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200918102505.16036-6-zhengbin13@huawei.com
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c