]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: remove set but not used variable 'pause'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 12 Nov 2018 01:47:30 +0000 (01:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Nov 2018 02:19:50 +0000 (18:19 -0800)
commit2cc5483acf5455e041622b647bd8766315d2be26
tree7df39872c2cd8305ad358b43267c999fa85bb5ee
parentae2f028f1ac41d0f5b8d3b1f3e15573bf92049f0
net: phy: marvell: remove set but not used variable 'pause'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/phy/marvell.c: In function 'm88e1510_config_init':
drivers/net/phy/marvell.c:850:7: warning:
 variable 'pause' set but not used [-Wunused-but-set-variable]

It not used any more after commit 1adbfd4fe348 ("net: ethernet: Convert phydev
advertize and supported from u32 to link mode")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c