Re: [PATCH net-next 11/17] net: dsa: Refactor selection of tag ops into a function
From: Vivien Didelot <hidden> Date: 2016-06-03 19:04:24
Andrew Lunn [off-list ref] writes:
Replace the two switch statements with an array lookup, and store the
result in the dsa tree structure. The drivers no longer need to know
the selected tag protocol, so remove it from the dsa switch structure.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>