Re: [PATCH net-next] net: bnxt: Remove Comparison to bool in bnxt_ethtool.c

From: David Miller
Date: Tue May 05 2020 - 14:41:19 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Tue, 5 May 2020 15:46:08 +0800

> Fix the following coccicheck warning:
>
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1991:5-46: WARNING:
> Comparison to bool
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1993:10-54: WARNING:
> Comparison to bool
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2380:5-38: WARNING:
> Comparison to bool
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied.