[Intel-wired-lan] [PATCH] e1000: remove unneeded conversion to bool

David Miller davem at davemloft.net
Tue Apr 21 22:46:01 UTC 2020

From: Jason Yan <yanaijie at huawei.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 at huawei.com>

Applied to net-next.

More information about the Intel-wired-lan mailing list