rtw88: Simplify bool comparison
authorYANG LI <abaci-bugfix@linux.alibaba.com>
Tue, 12 Jan 2021 09:50:40 +0000 (17:50 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Jan 2021 17:27:28 +0000 (19:27 +0200)
commitd3a78c7a9daa6c5fa8529c53f07a909745cf7d02
tree8af31196e1d1066cf0e699abdd738727ce50c9d8
parent5f782c11569d5703c8ded6913481b55c254512f2
rtw88: Simplify bool comparison

Fix the following coccicheck warning:
 ./drivers/net/wireless/realtek/rtw88/debug.c:800:17-23: WARNING:
Comparison of 0/1 to bool variable

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: YANG LI <abaci-bugfix@linux.alibaba.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1610445040-23599-1-git-send-email-abaci-bugfix@linux.alibaba.com
drivers/net/wireless/realtek/rtw88/debug.c