]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: xdp: don't export dev_change_xdp_fd()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Apr 2017 07:32:07 +0000 (09:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2017 14:29:40 +0000 (10:29 -0400)
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>
net/core/dev.c

index 7869ae3837ca741e344b1731dc50d8408d8bcb6c..533a6d6f60920a01e8a9cef8fdb408950b914b05 100644 (file)
@@ -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