diff options
author | Florian Fainelli <florian.fainelli@broadcom.com> | 2024-04-30 18:48:16 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-02 04:06:32 +0200 |
commit | 8a021a863a7dc9f4d3d00c5571b79e0961eeabc8 (patch) | |
tree | fc62a7d2446129388bcbe30ce400b809d20095ed /net/dsa/dsa.c | |
parent | net: dsa: Remove fixed_link_update member (diff) | |
download | linux-8a021a863a7dc9f4d3d00c5571b79e0961eeabc8.tar.xz linux-8a021a863a7dc9f4d3d00c5571b79e0961eeabc8.zip |
net: dsa: Remove adjust_link paths
Now that we no longer any drivers using PHYLIB's adjust_link callback,
remove all paths that made use of adjust_link as well as the associated
functions.
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20240430164816.2400606-3-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 2f347cd37316..12521a7d4048 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -1511,8 +1511,7 @@ static int dsa_switch_probe(struct dsa_switch *ds) ds->ops->phylink_mac_config || ds->ops->phylink_mac_finish || ds->ops->phylink_mac_link_down || - ds->ops->phylink_mac_link_up || - ds->ops->adjust_link) + ds->ops->phylink_mac_link_up) return -EINVAL; } |