Skip to content

Commit

Permalink
net: dsa: lantiq_gswip: Don't manually call gswip_port_enable()
Browse files Browse the repository at this point in the history
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 <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Link: https://lore.kernel.org/r/20240611135434.3180973-6-ms@dev.tdt.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Martin Blumenstingl authored and Jakub Kicinski committed Jun 14, 2024
1 parent 1763b15 commit f5ebf9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/dsa/lantiq_gswip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f5ebf9a

Please sign in to comment.