]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtlwifi: rtl8192cu: fix comparison to bool warning in mac.c
authorZheng Bin <zhengbin13@huawei.com>
Fri, 18 Sep 2020 10:24:59 +0000 (18:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 21 Sep 2020 13:02:43 +0000 (16:02 +0300)
commit03ce8159395159d46e549a6bcfc42fcdfa12307f
treeb92d305114ea5a9d9c06dbbe57573ba2d69a93b6
parent4cff897cb2f8e33332213fb8000c0a7187cc25f1
rtlwifi: rtl8192cu: fix comparison to bool warning in mac.c

Fixes coccicheck warning:

drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c:161:14-17: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c:168:13-16: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c:179:14-17: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c:186:13-16: 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-4-zhengbin13@huawei.com
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c