From: Johannes Berg Date: Wed, 12 Apr 2017 07:32:07 +0000 (+0200) Subject: net: xdp: don't export dev_change_xdp_fd() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df7dd8fc965c665e83b71a649378cdf200ff36df;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: xdp: don't export dev_change_xdp_fd() Since dev_change_xdp_fd() is only used in rtnetlink, which must be built-in, there's no reason to export dev_change_xdp_fd(). Signed-off-by: Johannes Berg Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 7869ae3837ca..533a6d6f6092 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -6757,7 +6757,6 @@ int dev_change_xdp_fd(struct net_device *dev, int fd, u32 flags) return err; } -EXPORT_SYMBOL(dev_change_xdp_fd); /** * dev_new_index - allocate an ifindex