[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200421.154601.158772582316590260.davem@davemloft.net>
Date: Tue, 21 Apr 2020 15:46:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanaijie@...wei.com
Cc: jeffrey.t.kirsher@...el.com, intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] e1000: remove unneeded conversion to bool
From: Jason Yan <yanaijie@...wei.com>
Date: Mon, 20 Apr 2020 20:35:06 +0800
> The '==' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
>
> drivers/net/ethernet/intel/e1000/e1000_main.c:1479:44-49: 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