diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-11-05 12:24:27 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-18 10:17:13 +0000 |
commit | 2ffcb35d49aa06cedd793e4d034c76b9c9a27d0e (patch) | |
tree | a56deed35b1a8b25dcce31ed4c44d958afcb5744 /drivers | |
parent | 2066f2d2c891420387d6af709711d378f8d74b72 (diff) |
net: dsa: mt7530: drop use of phylink_helper_basex_speed()
Now that we have a better method to select SFP interface modes, we
no longer need to use phylink_helper_basex_speed() in a driver's
validation function.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/dsa/mt7530.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index a179c81064a9..9d323225b484 100644 --- a/drivers/net/dsa/mt7530.c +++ b/drivers/net/dsa/mt7530.c @@ -2933,11 +2933,6 @@ mt753x_phylink_validate(struct dsa_switch *ds, int port, linkmode_and(supported, supported, mask); linkmode_and(state->advertising, state->advertising, mask); - - /* We can only operate at 2500BaseX or 1000BaseX. If requested - * to advertise both, only report advertising at 2500BaseX. - */ - phylink_helper_basex_speed(state); } static int |