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;