[Intel-wired-lan] [PATCH -next] intel: Simplify bool conversion

Brelinski, Tony tony.brelinski at intel.com
Mon Oct 25 18:37:02 UTC 2021


> -----Original Message-----
> From: Yang Li <yang.lee at linux.alibaba.com>
> Sent: Tuesday, September 28, 2021 11:56 PM
> To: kuba at kernel.org
> Cc: davem at davemloft.net; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; intel-wired-lan at lists.osuosl.org;
> netdev at vger.kernel.org; linux-kernel at vger.kernel.org; Yang Li
> <yang.lee at linux.alibaba.com>
> Subject: [PATCH -next] intel: Simplify bool conversion
> 
> Fix the following coccicheck warning:
> ./drivers/net/ethernet/intel/i40e/i40e_xsk.c:229:35-40: WARNING:
> conversion to bool not needed here
> ./drivers/net/ethernet/intel/ice/ice_xsk.c:399:35-40: WARNING:
> conversion to bool not needed here
> 
> Reported-by: Abaci Robot <abaci at linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_xsk.c | 2 +-
>  drivers/net/ethernet/intel/ice/ice_xsk.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Tested-by: Tony Brelinski <tony.brelinski at intel.com>




More information about the Intel-wired-lan mailing list