aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index ecbe206f90d1..6b9a7bd8ec14 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2082,7 +2082,6 @@ static int bond_release_all(struct net_device *bond_dev)
2082 struct net_device *slave_dev; 2082 struct net_device *slave_dev;
2083 struct sockaddr addr; 2083 struct sockaddr addr;
2084 2084
2085 block_netpoll_tx();
2086 write_lock_bh(&bond->lock); 2085 write_lock_bh(&bond->lock);
2087 2086
2088 netif_carrier_off(bond_dev); 2087 netif_carrier_off(bond_dev);
@@ -2181,8 +2180,6 @@ static int bond_release_all(struct net_device *bond_dev)
2181 2180
2182out: 2181out:
2183 write_unlock_bh(&bond->lock); 2182 write_unlock_bh(&bond->lock);
2184 unblock_netpoll_tx();
2185
2186 return 0; 2183 return 0;
2187} 2184}
2188 2185