diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-04-07 12:11:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-09 22:07:07 +0200 |
commit | 4c75be07f9385364be3a5033ff3a20faf3f3bce0 (patch) | |
tree | e24a6caf7bf5db9375c41654f4b6a2184ee00521 /drivers/net/phy/marvell10g.c | |
parent | Merge branch 'netdevsim-small-spring-cleanup' (diff) | |
download | linux-4c75be07f9385364be3a5033ff3a20faf3f3bce0.tar.xz linux-4c75be07f9385364be3a5033ff3a20faf3f3bce0.zip |
net: phy: remove unnecessary callback settings in C45 drivers
genphy_c45_aneg_done() is used by phylib as fallback for c45 PHY's if
callback aneg_done isn't defined. So we don't have to set this
explicitly. Same for genphy_c45_pma_read_abilities().
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/marvell10g.c')
-rw-r--r-- | drivers/net/phy/marvell10g.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c index fc06e8c9a64b..238a20e13d6a 100644 --- a/drivers/net/phy/marvell10g.c +++ b/drivers/net/phy/marvell10g.c @@ -482,7 +482,6 @@ static struct phy_driver mv3310_drivers[] = { .phy_id = MARVELL_PHY_ID_88E2110, .phy_id_mask = MARVELL_PHY_ID_MASK, .name = "mv88x2110", - .get_features = genphy_c45_pma_read_abilities, .probe = mv3310_probe, .suspend = mv3310_suspend, .resume = mv3310_resume, |