From 366ed1aca6e02a90eff5387bd6ace34eba7e64cf Mon Sep 17 00:00:00 2001 From: David Ahern Date: Thu, 20 Feb 2020 22:03:13 -0700 Subject: net: Remove unneeded export of a couple of xdp generic functions generic_xdp_tx and xdp_do_generic_redirect are only used by builtin code, so remove the EXPORT_SYMBOL_GPL for them. Signed-off-by: David Ahern Signed-off-by: David S. Miller --- net/core/dev.c | 1 - 1 file changed, 1 deletion(-) (limited to 'net/core/dev.c') diff --git a/net/core/dev.c b/net/core/dev.c index e10bd680dc03..4770dde3448d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4636,7 +4636,6 @@ void generic_xdp_tx(struct sk_buff *skb, struct bpf_prog *xdp_prog) kfree_skb(skb); } } -EXPORT_SYMBOL_GPL(generic_xdp_tx); static DEFINE_STATIC_KEY_FALSE(generic_xdp_needed_key); -- cgit v1.2.3