From: Martin Blumenstingl Date: Tue, 11 Jun 2024 13:54:27 +0000 (+0200) Subject: net: dsa: lantiq_gswip: Don't manually call gswip_port_enable() X-Git-Tag: v6.11-rc1~163^2~205^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5ebf9ab60940b00c36dfe64add41c80f3daff6a;p=thirdparty%2Fkernel%2Flinux.git net: dsa: lantiq_gswip: Don't manually call gswip_port_enable() We don't need to manually call gswip_port_enable() from within gswip_setup() for the CPU port. DSA does this automatically for us. Signed-off-by: Martin Blumenstingl Acked-by: Hauke Mehrtens Reviewed-by: Vladimir Oltean Signed-off-by: Martin Schiller Link: https://lore.kernel.org/r/20240611135434.3180973-6-ms@dev.tdt.de Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa/lantiq_gswip.c index 37cc0247dc782..c1f9419af35f6 100644 --- a/drivers/net/dsa/lantiq_gswip.c +++ b/drivers/net/dsa/lantiq_gswip.c @@ -898,8 +898,6 @@ static int gswip_setup(struct dsa_switch *ds) ds->mtu_enforcement_ingress = true; - gswip_port_enable(ds, cpu_port, NULL); - ds->configure_vlan_while_not_filtering = false; return 0;