This reverts commit
d55dad8b1d893fae0c4e778abf2ace048bcbad86.
Upstream commit
af199a1a9cb0 ("net: dsa: microchip: set the correct
number of ports") seems to have been applied twice on top of the 5.4
branch. This revert the second instance of said commit.
Signed-off-by: Sasha Levin <sashal@kernel.org>
/* set the real number of ports */
dev->ds->num_ports = dev->port_cnt;
- /* set the real number of ports */
- dev->ds->num_ports = dev->port_cnt;
-
return 0;
}
PORT_VLAN_LOOKUP_VID_0, false);
}
- /* set the real number of ports */
- dev->ds->num_ports = dev->port_cnt;
-
return 0;
}