summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorAndrew Lunn2019-04-28 19:37:21 +0200
committerDavid S. Miller2019-04-29 01:41:01 +0200
commitf81a43e8da07ccd91c4d923a44ffffaeee39dcc8 (patch)
treedfe12e87e6f7faca811278e1e63321ff05847b90 /include/net/dsa.h
parentdsa: Make use of the list of tag drivers (diff)
downloadkernel-qcow2-linux-f81a43e8da07ccd91c4d923a44ffffaeee39dcc8.tar.gz
kernel-qcow2-linux-f81a43e8da07ccd91c4d923a44ffffaeee39dcc8.tar.xz
kernel-qcow2-linux-f81a43e8da07ccd91c4d923a44ffffaeee39dcc8.zip
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>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 08ac05c014e3..b550f7bb5314 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -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;