diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-09-29 17:19:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-01 04:15:07 +0100 |
commit | aa193d9b1d7ea6893ce24a9d141f676950563987 (patch) | |
tree | 1588a23127ad9bc19300231729073165d320f59b /include | |
parent | 2f657a600409f1961d67642fe384a9d4be71d36a (diff) | |
download | linux-stable-aa193d9b1d7ea6893ce24a9d141f676950563987.tar.gz linux-stable-aa193d9b1d7ea6893ce24a9d141f676950563987.tar.bz2 linux-stable-aa193d9b1d7ea6893ce24a9d141f676950563987.zip |
net: dsa: remove tag ops from the switch tree
Now that the dsa_ptr is a dsa_port instance, there is no need to keep
the tag operations in the dsa_switch_tree structure. Remove it.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/dsa.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 6bda01fa5747..10dceccd9ce8 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -130,11 +130,6 @@ struct dsa_switch_tree { */ struct dsa_platform_data *pd; - /* Copy of tag_ops->rcv for faster access in hot path */ - struct sk_buff * (*rcv)(struct sk_buff *skb, - struct net_device *dev, - struct packet_type *pt); - /* * The switch port to which the CPU is attached. */ @@ -144,12 +139,6 @@ struct dsa_switch_tree { * Data for the individual switch chips. */ struct dsa_switch *ds[DSA_MAX_SWITCHES]; - - /* - * Tagging protocol operations for adding and removing an - * encapsulation tag. - */ - const struct dsa_device_ops *tag_ops; }; /* TC matchall action types, only mirroring for now */ |