summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/phylink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index c638e13fbf81..4c0616ba314d 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -635,7 +635,6 @@ static void phylink_phy_change(struct phy_device *phydev, bool up,
pl->phy_state.pause |= MLO_PAUSE_ASYM;
pl->phy_state.interface = phydev->interface;
pl->phy_state.link = up;
- pl->phy_state.an_enabled = phydev->autoneg;
mutex_unlock(&pl->state_mutex);
phylink_run_resolve(pl);