net: hns3: remove explicit conversion to bool
authorGuojia Liao <liaoguojia@huawei.com>
Thu, 5 Sep 2019 13:31:40 +0000 (21:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2019 13:20:34 +0000 (15:20 +0200)
commit1483fa4946435d6b7cac53096922fa85f9886647
tree23b8fb49b661cabf025391292bd0407d28471b70
parentb7cf22b74a3f58933d652237503f4e53fb3791f9
net: hns3: remove explicit conversion to bool

Relational and logical operators evaluate to bool,
explicit conversion is overly verbose and unnecessary.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c