Skip to content

Commit

Permalink
net: dsa: b53: drop use of phylink_helper_basex_speed()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King (Oracle) authored and David S. Miller committed Feb 22, 2022
1 parent dda1c25 commit cc6b68f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/dsa/b53/b53_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cc6b68f

Please sign in to comment.