Re: [PATCH net-next] net: phy: remove dead code from phy_sanitize_settings

2019-04-18 Thread David Miller
From: Heiner Kallweit Date: Wed, 17 Apr 2019 00:13:09 +0200 > 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 Applied.

[PATCH net-next] net: phy: remove dead code from phy_sanitize_settings

2019-04-16 Thread Heiner Kallweit
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 --- drivers/net/phy/phy.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/ph