net: dsa: remove tag_protocol from dsa_switch
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 18 Apr 2016 22:24:04 +0000 (18:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 17:43:11 +0000 (13:43 -0400)
commitc60c9840423f32117a5422511c53c39df0b4d1dd
tree96c7e59fd13e2c1e16371198ddb1afce470ff9c6
parent2dabf0c4d0348f6f0b1ce0e0efcbcedef6a72045
net: dsa: remove tag_protocol from dsa_switch

Having the tag protocol in dsa_switch_driver for setup time and in
dsa_switch_tree for runtime is enough. Remove dsa_switch's one.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c