]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtlwifi: rtl8821ae: use true,false for bool variable large_cfo_hit
authorJason Yan <yanaijie@huawei.com>
Sat, 19 Sep 2020 07:44:28 +0000 (15:44 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Sep 2020 07:18:10 +0000 (10:18 +0300)
commitff4d1d726e7fcdce5d73b196cbb8665335e2fce0
treeb0b7658eccde55ee5163f263135c7815f4169d6c
parenta03efb41bb15bb317a5f9430d5f146a1b8362e60
rtlwifi: rtl8821ae: use true,false for bool variable large_cfo_hit

This addresses the following coccinelle warning:

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2680:27-47: WARNING:
Comparison of 0/1 to bool variable
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2683:3-23: WARNING:
Assignment of 0/1 to bool variable
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2686:3-23: WARNING:
Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200919074428.3459234-1-yanaijie@huawei.com
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c