]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47dd20433de6f83e08f604cd98d64ec960f983a1
tree409832eab99445f21911219ce22d19058040db91
parent995c58ba52589be8740489687b50cc486f67ed08
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