commit | 4a7704ffa86705b0580b6473c407b7b7618e072d | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Jun 04 21:16:59 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 04 14:29:53 2016 -0700 |
tree | ea9483934d983ffb5f00c22f9b1aa6b881b6b71c | |
parent | 189b0d93ec61e1f991e96d7bc03b03cf929d164c [diff] |
net: dsa: Remove dynamic allocate of routing table With a maximum of four switches, the size of the routing table is the same as the pointer to it. Removing it makes the code simpler. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>