Skip to content

Commit a9517d0

Browse files
jpirkodavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3bad540 commit a9517d0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/netdevice.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -921,9 +921,6 @@ struct netdev_phys_port_id {
921921
* int (*ndo_del_slave)(struct net_device *dev, struct net_device *slave_dev);
922922
* Called to release previously enslaved netdev.
923923
*
924-
* int (*ndo_get_slave)(struct net_device *slave_dev, struct sk_buff *skb);
925-
* Called to fill netlink skb with slave info.
926-
*
927924
* Feature/offload setting functions.
928925
* netdev_features_t (*ndo_fix_features)(struct net_device *dev,
929926
* netdev_features_t features);
@@ -1096,8 +1093,6 @@ struct net_device_ops {
10961093
struct net_device *slave_dev);
10971094
int (*ndo_del_slave)(struct net_device *dev,
10981095
struct net_device *slave_dev);
1099-
int (*ndo_get_slave)(struct net_device *slave_dev,
1100-
struct sk_buff *skb);
11011096
netdev_features_t (*ndo_fix_features)(struct net_device *dev,
11021097
netdev_features_t features);
11031098
int (*ndo_set_features)(struct net_device *dev,

0 commit comments

Comments
 (0)