Re: [PATCH net-next] bnx2x: Remove Comparison to bool in bnx2x_dcb.c
From: David Miller
Date: Tue May 05 2020 - 14:40:22 EST
From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Tue, 5 May 2020 15:44:00 +0800
> 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@xxxxxxxxxx>
Applied.