net: remove netdev_bonding_change()
I don't see any benifits to use netdev_bonding_change() than using call_netdevice_notifiers() directly. Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ee89bab14e
commit
b7bc2a5b5b
@@ -1124,12 +1124,6 @@ void netdev_notify_peers(struct net_device *dev)
|
||||
}
|
||||
EXPORT_SYMBOL(netdev_notify_peers);
|
||||
|
||||
int netdev_bonding_change(struct net_device *dev, unsigned long event)
|
||||
{
|
||||
return call_netdevice_notifiers(event, dev);
|
||||
}
|
||||
EXPORT_SYMBOL(netdev_bonding_change);
|
||||
|
||||
/**
|
||||
* dev_load - load a network module
|
||||
* @net: the applicable net namespace
|
||||
|
Reference in New Issue
Block a user