Re: [PATCH net-next] net: atheros: remove conversion to bool in atl1c_start_mac()
From: David Miller
Date: Tue May 05 2020 - 14:40:58 EST
From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Tue, 5 May 2020 15:45:46 +0800
> No need to convert '==' expression to bool. This fixes the following
> coccicheck warning:
>
> drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1189:63-68: WARNING:
> conversion to bool not needed here
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Applied.