net: hns: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 08:42:12 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:04:24 +0000 (11:04 -0700)
commit6d92797716003a462bd75bbda3740718ce54bcdd
tree5885ac1f94629aef99f3b443d2db05240d79ed0b
parentd30e1c3db96467f1f444d84023c2c37821202aeb
net: hns: use true,false for bool variables

Fix the following coccicheck warning:

drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:700:2-8: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:702:2-8: 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c