]> 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)
commitabb195821be5a846808c965b7dbe858f92524cca
treeea9483934d983ffb5f00c22f9b1aa6b881b6b71c
parent2449d3a4aab04df74086eb6b761d9321e504f7a1
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