summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2020-02-21 08:03:13 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-24 22:03:38 +0300
commit366ed1aca6e02a90eff5387bd6ace34eba7e64cf (patch)
treea8f0faf7044664893910474cc714c463e0c3cd93 /net/core/dev.c
parentc3e042f54107376cfbbd215e11878a2a75e1e228 (diff)
downloadlinux-366ed1aca6e02a90eff5387bd6ace34eba7e64cf.tar.xz
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 <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c1
1 files changed, 0 insertions, 1 deletions
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);