diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-22 10:16:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-22 11:03:02 +0000 |
commit | cc6b68f5f10e9fd2af083a70a0a007d2eeb989d8 (patch) | |
tree | 979052ddb0aa948b236c78e40fbe7823dd92ebb3 | |
parent | dda1c25751fa22ecbfa8eaa17efb296ff5017408 (diff) | |
download | linux-cc6b68f5f10e9fd2af083a70a0a007d2eeb989d8.tar.bz2 |
net: dsa: b53: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/dsa/b53/b53_common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/b53/b53_common.c b/drivers/net/dsa/b53/b53_common.c index 211c0e499370..a637e44bce0b 100644 --- a/drivers/net/dsa/b53/b53_common.c +++ b/drivers/net/dsa/b53/b53_common.c @@ -1348,8 +1348,6 @@ void b53_phylink_validate(struct dsa_switch *ds, int port, linkmode_and(supported, supported, mask); linkmode_and(state->advertising, state->advertising, mask); - - phylink_helper_basex_speed(state); } EXPORT_SYMBOL(b53_phylink_validate); |