]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Remove residual magic from PHY drivers
authorAndrew Lunn <andrew@lunn.ch>
Tue, 16 May 2017 16:29:11 +0000 (18:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 19:58:18 +0000 (15:58 -0400)
commitf06f71fc00be3669a3b36cdea0f8c9879e27464f
treefd4e77df4fb1297ca221745d16205811a863b0f8
parente6bbea76662882985d9b2aed3040f531fc8cb10d
net: phy: Remove residual magic from PHY drivers

commit 1446ded3208b ("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>
drivers/net/phy/broadcom.c
drivers/net/phy/micrel.c
drivers/net/phy/microchip.c
drivers/net/phy/smsc.c
include/linux/phy.h