Skip to content

Commit

Permalink
rtnetlink: remove ndo_get_slave
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Jan 23, 2014
1 parent 3bad540 commit a9517d0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a9517d0

Please sign in to comment.