summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2012-08-09 22:14:57 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-14 14:28:24 -0700
commitb7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745 (patch)
tree67c3bec34828092a6413e76ee638bdfc7e431ea1 /net/core/dev.c
parentee89bab14e857678f83a71ee99e575b0fdbb58d4 (diff)
downloadop-kernel-dev-b7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745.zip
op-kernel-dev-b7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745.tar.gz
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 5defcf9..ce1bccb 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
OpenPOWER on IntegriCloud