diff options
author | Russell King | 2019-12-17 13:39:00 +0000 |
---|---|---|
committer | David S. Miller | 2019-12-19 12:52:34 -0800 |
commit | c48f16b42a3bf71eeb9c6141369b001097f961e6 (patch) | |
tree | 563b18f60eb8acf316481178149dd8d77985eeb0 /drivers/net/phy/phy_device.c | |
parent | a1ec57c020201ba29608a5a3588832d07de1a518 (diff) |
net: phy: remove redundant .aneg_done initialisers
Remove initialisers that set .aneg_done to genphy_aneg_done - this is
the default for clause 22 PHYs, so the initialiser is redundant.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 0887ed2bb050..acbdced20c11 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -2575,7 +2575,6 @@ static struct phy_driver genphy_driver = { .name = "Generic PHY", .soft_reset = genphy_no_soft_reset, .get_features = genphy_read_abilities, - .aneg_done = genphy_aneg_done, .suspend = genphy_suspend, .resume = genphy_resume, .set_loopback = genphy_loopback, |