b43: remove Comparison of 0/1 to bool variable in pio.c

Fix the following coccicheck warning:

drivers/net/wireless/broadcom/b43/pio.c:768:10-25: WARNING: Comparison
of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200504113311.41026-1-yanaijie@huawei.com
This commit is contained in:
Jason Yan 2020-05-04 19:33:11 +08:00 committed by Kalle Valo
parent e2b9ac5908
commit f8f24ece21
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ void b43_pio_rx(struct b43_pio_rxqueue *q)
bool stop;
while (1) {
stop = (pio_rx_frame(q) == 0);
stop = !pio_rx_frame(q);
if (stop)
break;
cond_resched();