From 09e5d2507fa5eb46e07f7e2a2bdfa8038ed68192 Mon Sep 17 00:00:00 2001 From: Jan Sondhauss Date: Mon, 11 Aug 2025 12:39:53 +0200 Subject: [PATCH] Revert "net: dsa: microchip: ksz8: don't add own-macs with vlan 1 to the stat mac table" This reverts commit 9f0cd172d14623aca2529b8889a08d51bdccc60b. --- drivers/net/dsa/microchip/ksz8795.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c index 69f4d5d33fc6..b3d89920c749 100644 --- a/drivers/net/dsa/microchip/ksz8795.c +++ b/drivers/net/dsa/microchip/ksz8795.c @@ -1007,10 +1007,6 @@ static int ksz8_add_sta_mac(struct ksz_device *dev, int port, int index, ret; int empty = 0; - vid = 0; //JSo(WAGO): we don't use the vlan function of the switch and with our - //three mac addresses we would already occupy 6of8 slots in the stat mac table. - // So that vid to zero.. - alu.port_forward = 0; for (index = 0; index < dev->info->num_statics; index++) { bool valid;