mt76: mt7921: fix boolreturn.cocci warning

./drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c: 223: 8-9: WARNING:
return of 0/1 in function 'mt7921s_tx_status_data' with return type bool

Return statements in functions returning bool should use true/false
instead of 1/0.

Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Changcheng Deng <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Changcheng Deng
2021-11-28 22:20:34 +01:00
committed by Felix Fietkau
parent 25237b19bc
commit 1463cb4c6a
+1 -1
View File
@@ -220,5 +220,5 @@ bool mt7921s_tx_status_data(struct mt76_dev *mdev, u8 *update)
mt7921_mac_sta_poll(dev);
mt7921_mutex_release(dev);
return 0;
return false;
}