net: phy: remove unnecessary callback settings in C45 drivers
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 7 Apr 2019 10:11:35 +0000 (12:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2019 20:07:07 +0000 (13:07 -0700)
commit4c75be07f9385364be3a5033ff3a20faf3f3bce0
treee24a6caf7bf5db9375c41654f4b6a2184ee00521
parent0c9381d9bcfbd7dbc26b6e5f296e90d6396ea4db
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>
drivers/net/phy/aquantia_main.c
drivers/net/phy/marvell10g.c