summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-01-22 09:05:57 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-22 21:57:17 -0800
commita9517d0f43832d787a4a0348163d659641bfd83c (patch)
treec3b56b1e29d2dda70888fc69feb704ce557cc0ae /include
parent3bad540ed8285fb53f6365420bba0320d8cd2066 (diff)
downloadlinux-stable-a9517d0f43832d787a4a0348163d659641bfd83c.tar.gz
linux-stable-a9517d0f43832d787a4a0348163d659641bfd83c.tar.bz2
linux-stable-a9517d0f43832d787a4a0348163d659641bfd83c.zip
rtnetlink: remove ndo_get_slave
No longer used API bond-specific can be removed now. This is now handled in a generic way in rtnl_link_ops. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c31022980e18..440a02ee6f92 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -921,9 +921,6 @@ struct netdev_phys_port_id {
* int (*ndo_del_slave)(struct net_device *dev, struct net_device *slave_dev);
* Called to release previously enslaved netdev.
*
- * int (*ndo_get_slave)(struct net_device *slave_dev, struct sk_buff *skb);
- * Called to fill netlink skb with slave info.
- *
* Feature/offload setting functions.
* netdev_features_t (*ndo_fix_features)(struct net_device *dev,
* netdev_features_t features);
@@ -1096,8 +1093,6 @@ struct net_device_ops {
struct net_device *slave_dev);
int (*ndo_del_slave)(struct net_device *dev,
struct net_device *slave_dev);
- int (*ndo_get_slave)(struct net_device *slave_dev,
- struct sk_buff *skb);
netdev_features_t (*ndo_fix_features)(struct net_device *dev,
netdev_features_t features);
int (*ndo_set_features)(struct net_device *dev,