qed: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Mon, 20 Apr 2020 04:27:20 +0000 (12:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:52:58 +0000 (12:52 -0700)
commit82ebc889091a488b4dd95e682b3c3b889a50713c
tree95543dd0b3adc26e5886265f9984255b0c5c344a
parent0fa1484e9c5d516e567cbbc1fb118ffd0a74ca9b
qed: use true,false for bool variables

Fix the following coccicheck warning:

drivers/net/ethernet/qlogic/qed/qed_dev.c:4395:2-34: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/qlogic/qed/qed_dev.c:1975:2-34: WARNING:
Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c