bnx2x: Remove Comparison to bool in bnx2x_dcb.c
authorJason Yan <yanaijie@huawei.com>
Tue, 5 May 2020 07:44:00 +0000 (15:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:39:42 +0000 (11:39 -0700)
commit66b63a60d7ea9f589a9cdc404057d8072930962d
tree5af8ed36d138c5d1cf09c02eb24a766f1cbc71f5
parentd9a1c584a93a90ecd24fca775a68d113fda05576
bnx2x: Remove Comparison to bool in bnx2x_dcb.c

Fix the following coccicheck warning:

drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1548:17-31: WARNING:
Comparison to bool
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1148:16-24: WARNING:
Comparison to bool
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c:1158:30-38: WARNING:
Comparison to bool

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c