diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-04-12 10:32:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-12 17:29:40 +0300 |
commit | df7dd8fc965c665e83b71a649378cdf200ff36df (patch) | |
tree | 313ce99bab9d644c697c49f49ccda782f2151fa1 | |
parent | fc9c89b19c56813434c3d2967652a4fa6906926a (diff) | |
download | linux-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>
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |