net: dsa: Remove dynamic allocate of routing table
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:16:59 +0000 (21:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:53 +0000 (14:29 -0700)
commit4a7704ffa86705b0580b6473c407b7b7618e072d
treeea9483934d983ffb5f00c22f9b1aa6b881b6b71c
parent189b0d93ec61e1f991e96d7bc03b03cf929d164c
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>
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h
net/dsa/dsa.c