diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-07-14 10:12:12 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-18 09:47:09 +0200 |
commit | 8f42c07fb0f208150676e2e7b6b0482522b304c9 (patch) | |
tree | 58594fd755c2da881d063777db017dbbd6179f5e /drivers/net/dsa/ocelot/felix.c | |
parent | a88dd7538461b2daf6883e5392957b21270638ed (diff) | |
download | linux-8f42c07fb0f208150676e2e7b6b0482522b304c9.tar.gz linux-8f42c07fb0f208150676e2e7b6b0482522b304c9.tar.bz2 linux-8f42c07fb0f208150676e2e7b6b0482522b304c9.zip |
net: dsa: remove legacy_pre_march2020 from drivers
Since DSA no longer marks anything as phylink-legacy, there is now no
need for DSA drivers to set this member to false. Remove all instances
of this.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix.c')
-rw-r--r-- | drivers/net/dsa/ocelot/felix.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/dsa/ocelot/felix.c b/drivers/net/dsa/ocelot/felix.c index 8da46d284e35..fd7eb4a52918 100644 --- a/drivers/net/dsa/ocelot/felix.c +++ b/drivers/net/dsa/ocelot/felix.c @@ -1042,12 +1042,6 @@ static void felix_phylink_get_caps(struct dsa_switch *ds, int port, { struct ocelot *ocelot = ds->priv; - /* This driver does not make use of the speed, duplex, pause or the - * advertisement in its mac_config, so it is safe to mark this driver - * as non-legacy. - */ - config->legacy_pre_march2020 = false; - config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD | MAC_2500FD; |