]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27bde3163c3eb3477eeef9cfb1b64299b780f8ee
treeea9483934d983ffb5f00c22f9b1aa6b881b6b71c
parent46b0ef9683bb115272667e7e8dd981da54515c23
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