net: dsa: remove switch routing table setup code
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 31 Oct 2019 02:09:15 +0000 (22:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 21:26:38 +0000 (14:26 -0700)
commit3774ecdb8ca201af770288d57997dbf6445eb3c8
tree409832eab99445f21911219ce22d19058040db91
parent96252b8e05326df072cd321159878aa4725c5bd4
net: dsa: remove switch routing table setup code

The dsa_switch structure has no routing table specific data to setup,
so the switch fabric can directly walk its ports and initialize its
routing table from them.

This allows us to remove the dsa_switch_setup_routing_table function.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c