diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-05-16 18:29:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-16 15:58:18 -0400 |
commit | 1b86f702f80de32d555519e2c4c61385faeab710 (patch) | |
tree | fd4e77df4fb1297ca221745d16205811a863b0f8 /drivers/net/phy/microchip.c | |
parent | 3fdd34c18e93d4a2d7609955d2e6f122e21216e1 (diff) |
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.c | 2 |
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, |