mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
3675617531
commit
f81a43e8da
12 changed files with 11 additions and 77 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue