Skip to content

Commit cc6b68f

Browse files
Russell King (Oracle)davem330
authored andcommitted
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) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent dda1c25 commit cc6b68f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/dsa/b53/b53_common.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,8 +1348,6 @@ void b53_phylink_validate(struct dsa_switch *ds, int port,
13481348

13491349
linkmode_and(supported, supported, mask);
13501350
linkmode_and(state->advertising, state->advertising, mask);
1351-
1352-
phylink_helper_basex_speed(state);
13531351
}
13541352
EXPORT_SYMBOL(b53_phylink_validate);
13551353

0 commit comments

Comments
 (0)