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/b53/b53_common.c | |
parent | a88dd7538461b2daf6883e5392957b21270638ed (diff) | |
download | lwn-8f42c07fb0f208150676e2e7b6b0482522b304c9.tar.gz lwn-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/b53/b53_common.c')
-rw-r--r-- | drivers/net/dsa/b53/b53_common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/dsa/b53/b53_common.c b/drivers/net/dsa/b53/b53_common.c index 3464ce5e7470..4e27dc913cf7 100644 --- a/drivers/net/dsa/b53/b53_common.c +++ b/drivers/net/dsa/b53/b53_common.c @@ -1393,12 +1393,6 @@ static void b53_phylink_get_caps(struct dsa_switch *ds, int port, /* Get the implementation specific capabilities */ if (dev->ops->phylink_get_caps) dev->ops->phylink_get_caps(dev, port, config); - - /* 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; } static struct phylink_pcs *b53_phylink_mac_select_pcs(struct dsa_switch *ds, |