Re: [PATCH net-next] net: phy: marvell: remove set but not used variable 'pause'

From: David Miller
Date: Sun Nov 11 2018 - 21:27:27 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Mon, 12 Nov 2018 01:47:30 +0000

> 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 3c1bcc8614db ("net: ethernet: Convert phydev
> advertize and supported from u32 to link mode")
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.