summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-04-12 09:32:07 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-12 10:29:40 -0400
commitdf7dd8fc965c665e83b71a649378cdf200ff36df (patch)
tree313ce99bab9d644c697c49f49ccda782f2151fa1 /net
parentfc9c89b19c56813434c3d2967652a4fa6906926a (diff)
downloadlinux-0-day-df7dd8fc965c665e83b71a649378cdf200ff36df.tar.gz
linux-0-day-df7dd8fc965c665e83b71a649378cdf200ff36df.tar.xz
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 <johannes.berg@intel.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-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 7869ae3837ca7..533a6d6f60920 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