mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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>
This commit is contained in:
parent
fc9c89b19c
commit
df7dd8fc96
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue