diff options
author | 2022-11-04 17:13:01 +0000 | |
---|---|---|
committer | 2022-11-07 17:54:57 -0800 | |
commit | e1f4ecab19338ec7079830e8700e4869f991fd45 (patch) | |
tree | dee0de4ecf0658ac62ff6d14ba0b025c6d329eb8 /drivers/net/ethernet/marvell/mvneta.c | |
parent | net: lan966x: move unnecessary linux/sfp.h include (diff) | |
download | linux-e1f4ecab19338ec7079830e8700e4869f991fd45.tar.gz linux-e1f4ecab19338ec7079830e8700e4869f991fd45.tar.bz2 linux-e1f4ecab19338ec7079830e8700e4869f991fd45.zip |
net: remove explicit phylink_generic_validate() references
Virtually all conventional network drivers are now converted to use
phylink_generic_validate() - only DSA drivers and fman_memac remain,
so lets remove the necessity for network drivers to explicitly set
this member, and default to phylink_generic_validate() when unset.
This is possible as .validate must currently be set.
Any remaining instances that have not been addressed by this patch can
be fixed up later.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/E1or0FZ-001tRa-DI@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 05ff3c58087e..c2cb98d24f5c 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -4228,7 +4228,6 @@ static void mvneta_mac_link_up(struct phylink_config *config, } static const struct phylink_mac_ops mvneta_phylink_ops = { - .validate = phylink_generic_validate, .mac_select_pcs = mvneta_mac_select_pcs, .mac_prepare = mvneta_mac_prepare, .mac_config = mvneta_mac_config, |