net: atheros: remove conversion to bool in atl1c_start_mac()
authorJason Yan <yanaijie@huawei.com>
Tue, 5 May 2020 07:45:46 +0000 (15:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:39:42 +0000 (11:39 -0700)
commite8cc063d83106bc6855c07db0001e8d01cbd8b3e
tree163dd11b497382ba155eb08f39393b58a572b0c5
parent93e6044bd1cb635c3a07dc1b8471bc965feb9b04
net: atheros: remove conversion to bool in atl1c_start_mac()

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c