dsa: Cleanup unneeded table and make tag structures static
Now that tag drivers dynamically register, we don't need the static table. Remove it. This also means the tag driver structures can be made static. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3675617531
commit
f81a43e8da
@@ -56,7 +56,6 @@ enum dsa_tag_protocol {
|
||||
DSA_TAG_PROTO_MTK = DSA_TAG_PROTO_MTK_VALUE,
|
||||
DSA_TAG_PROTO_QCA = DSA_TAG_PROTO_QCA_VALUE,
|
||||
DSA_TAG_PROTO_TRAILER = DSA_TAG_PROTO_TRAILER_VALUE,
|
||||
DSA_TAG_LAST, /* MUST BE LAST */
|
||||
};
|
||||
|
||||
struct packet_type;
|
||||
|
Reference in New Issue
Block a user