aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/microchip.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-05-16 18:29:11 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-16 15:58:18 -0400
commit1b86f702f80de32d555519e2c4c61385faeab710 (patch)
treefd4e77df4fb1297ca221745d16205811a863b0f8 /drivers/net/phy/microchip.c
parentbnx2x: Remove open coded carrier check (diff)
downloadlinux-dev-1b86f702f80de32d555519e2c4c61385faeab710.tar.xz
linux-dev-1b86f702f80de32d555519e2c4c61385faeab710.zip
net: phy: Remove residual magic from PHY drivers
commit fa8cddaf903c ("net phylib: Remove unnecessary condition check in phy") removed the only place where the PHY flag PHY_HAS_MAGICANEG was checked. But it left the flag being set in the drivers. Remove the flag. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/microchip.c')
-rw-r--r--drivers/net/phy/microchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/microchip.c b/drivers/net/phy/microchip.c
index 2b2f543cf9f0..37ee856c7680 100644
--- a/drivers/net/phy/microchip.c
+++ b/drivers/net/phy/microchip.c
@@ -146,7 +146,7 @@ static struct phy_driver microchip_phy_driver[] = {
.name = "Microchip LAN88xx",
.features = PHY_GBIT_FEATURES,
- .flags = PHY_HAS_INTERRUPT | PHY_HAS_MAGICANEG,
+ .flags = PHY_HAS_INTERRUPT,
.probe = lan88xx_probe,
.remove = lan88xx_remove,