diff options
author | Amerigo Wang <amwang@redhat.com> | 2012-08-09 18:14:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-14 17:28:24 -0400 |
commit | b7bc2a5b5bd99b216c3e5fe68c7f45c684ab5745 (patch) | |
tree | 67c3bec34828092a6413e76ee638bdfc7e431ea1 /net/core | |
parent | ee89bab14e857678f83a71ee99e575b0fdbb58d4 (diff) |
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')
-rw-r--r-- | net/core/dev.c | 6 |
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) | |||
1124 | } | 1124 | } |
1125 | EXPORT_SYMBOL(netdev_notify_peers); | 1125 | EXPORT_SYMBOL(netdev_notify_peers); |
1126 | 1126 | ||
1127 | int netdev_bonding_change(struct net_device *dev, unsigned long event) | ||
1128 | { | ||
1129 | return call_netdevice_notifiers(event, dev); | ||
1130 | } | ||
1131 | EXPORT_SYMBOL(netdev_bonding_change); | ||
1132 | |||
1133 | /** | 1127 | /** |
1134 | * dev_load - load a network module | 1128 | * dev_load - load a network module |
1135 | * @net: the applicable net namespace | 1129 | * @net: the applicable net namespace |