Skip to content

Commit

Permalink
net: xdp: don't export dev_change_xdp_fd()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and David S. Miller committed Apr 12, 2017
1 parent fc9c89b commit df7dd8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df7dd8f

Please sign in to comment.