summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2012-08-10 02:14:57 +0400
committerDavid S. Miller <davem@davemloft.net>2012-08-15 01:28:24 +0400
commitb7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745 (patch)
tree67c3bec34828092a6413e76ee638bdfc7e431ea1 /net/core/dev.c
parentee89bab14e857678f83a71ee99e575b0fdbb58d4 (diff)
downloadlinux-b7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745.tar.xz
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>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 5defcf940005..ce1bccb08de5 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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