]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtlwifi: rtl8188ee: fix comparison pointer to bool warning in hw.c
authorZheng Bin <zhengbin13@huawei.com>
Thu, 10 Sep 2020 13:59:17 +0000 (21:59 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 16 Sep 2020 06:11:12 +0000 (09:11 +0300)
commit916c3b969d219962ca1fdc61d41058e0c467a31a
tree3857769fdbe4bf4807837ac30e93892ddc4fb139
parentf40adfd07418b27fca78b19765bcf7563be83f24
rtlwifi: rtl8188ee: fix comparison pointer to bool warning in hw.c

Fixes coccicheck warning:

drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:777:14-20: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:782:13-19: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:787:14-20: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:792:13-19: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:871:6-33: WARNING: Comparison to bool
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:1070:5-13: 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/20200910135917.143723-4-zhengbin13@huawei.com
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c