diff options
author | Russell King (Oracle) <[email protected]> | 2023-09-27 13:13:56 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-04 12:20:50 -0700 |
commit | d5a590b1b614d99a147cb3ec71954d96ef1a0834 (patch) | |
tree | cc007f8a0bea6c325f598d8b715d14d75df0e006 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 00f3696f7555d0890ae07b635e6ccbf39fd2eb3a (diff) |
net: dsa: mt753x: remove mt753x_phylink_pcs_link_up()
Remove the mt753x_phylink_pcs_link_up() function for two reasons:
1) priv->pcs[i].pcs.neg_mode is set true, meaning it doesn't take a
MLO_AN_FIXED anymore, but one of PHYLINK_PCS_NEG_*. However, this
is inconsequential due to...
2) priv->pcs[port].pcs.ops is always initialised to point at
mt7530_pcs_ops, which does not have a pcs_link_up() member.
So, let's remove mt753x_phylink_pcs_link_up() entirely.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions