net: mvneta: remove redundant check for eee->tx_lpi_timer < 0
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Nov 2018 06:42:00 +0000 (14:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:17:09 +0000 (17:17 -0800)
commite4a3e9ff5ba9f6b67595ec2768ed4be2054c2aa5
treefc1a62ad8a3acd0b0b2509ec40bd44196d2ade35
parent9af8009082c73492c24a46494c1a29b506b3ad86
net: mvneta: remove redundant check for eee->tx_lpi_timer < 0

fixes the smatch warning:

drivers/net/ethernet/marvell/mvneta.c:4252 mvneta_ethtool_set_eee() warn:
 unsigned 'eee->tx_lpi_timer' is never less than zero.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c