[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200421.154555.572490249375777103.davem@davemloft.net>
Date: Tue, 21 Apr 2020 15:45:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanaijie@...wei.com
Cc: jeffrey.t.kirsher@...el.com, ast@...nel.org, daniel@...earbox.net,
kuba@...nel.org, hawk@...nel.org, john.fastabend@...il.com,
kafai@...com, songliubraving@...com, yhs@...com, andriin@...com,
kpsingh@...omium.org, intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH] i40e: Remove unneeded conversion to bool
From: Jason Yan <yanaijie@...wei.com>
Date: Mon, 20 Apr 2020 20:34:48 +0800
> The '==' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
>
> drivers/net/ethernet/intel/i40e/i40e_main.c:1614:52-57: WARNING:
> conversion to bool not needed here
> drivers/net/ethernet/intel/i40e/i40e_main.c:11439:52-57: WARNING:
> conversion to bool not needed here
>
> Signed-off-by: Jason Yan <yanaijie@...wei.com>
Applied to net-next.
Powered by blists - more mailing lists