summaryrefslogtreecommitdiffstats
path: root/include/net/lwtunnel.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-07-29 09:45:40 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-29 22:59:39 -0700
commit92a99bf3bae7c1267db87bb3e3babda2c6dcc8a7 (patch)
tree3e756b57364e7aaeea43f7c72ef73e665687c50f /include/net/lwtunnel.h
parentb4b67f269d28c70174e11b7af7fbdb81124d220c (diff)
downloadop-kernel-dev-92a99bf3bae7c1267db87bb3e3babda2c6dcc8a7.zip
op-kernel-dev-92a99bf3bae7c1267db87bb3e3babda2c6dcc8a7.tar.gz
lwtunnel: Make lwtun_encaps[] static
Any external user should use the registration API instead of accessing this directly. Cc: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/lwtunnel.h')
-rw-r--r--include/net/lwtunnel.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h
index b020390..33bd309 100644
--- a/include/net/lwtunnel.h
+++ b/include/net/lwtunnel.h
@@ -31,9 +31,6 @@ struct lwtunnel_encap_ops {
int (*cmp_encap)(struct lwtunnel_state *a, struct lwtunnel_state *b);
};
-extern const struct lwtunnel_encap_ops __rcu *
- lwtun_encaps[LWTUNNEL_ENCAP_MAX+1];
-
#ifdef CONFIG_LWTUNNEL
static inline struct lwtunnel_state *
lwtstate_get(struct lwtunnel_state *lws)
OpenPOWER on IntegriCloud