net: phy: remove dead code from phy_sanitize_settings
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 16 Apr 2019 22:13:09 +0000 (00:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 23:30:55 +0000 (16:30 -0700)
commit4cf2d206ff40912e2352a639aac61f7d0332ccbb
treea0832321d09a219edca23a92c3c54641fe446a86
parent5e42574b022b2640304530c68912ee638c6d9a20
net: phy: remove dead code from phy_sanitize_settings

phy_sanitize_settings() is called from phy_start_aneg() only, and only
if phydev->autoneg isn't set. Therefore the removed code does nothing.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c