diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-10-16 10:58:39 +0100 |
|---|---|---|
| committer | Andrew Lunn <andrew@lunn.ch> | 2024-10-17 18:15:15 -0500 |
| commit | 6c48cd044cc8f81b65872c8771a333fbad95997c (patch) | |
| tree | e20b7454179c62b9d32f409c184733352a2593da /tools/perf/scripts/python/bin | |
| parent | net: phylink: allow mac_select_pcs() to remove a PCS (diff) | |
| download | linux-6c48cd044cc8f81b65872c8771a333fbad95997c.tar.gz linux-6c48cd044cc8f81b65872c8771a333fbad95997c.zip | |
net: phylink: remove use of pl->pcs in phylink_validate_mac_and_pcs()
When the mac_select_pcs() method is not implemented, there is no way
for pl->pcs to be set to a non-NULL value. This was here to support
the old phylink_set_pcs() method which has been removed a few years
ago. Simplify the code in phylink_validate_mac_and_pcs().
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
