diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-09-02 07:51:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 00:27:24 -0400 |
commit | ee8487c0e1aed52b534f9bf31d3934af4c50bf33 (patch) | |
tree | c3b1052704f134bdc4662bb6aba1a8b5ed5d4af3 /drivers/net/bonding | |
parent | 6c8d23f78646b20bdbdad476d015b6594ac8ff1c (diff) |
bonding: trivial: remove outdated comment and braces
We don't have to release all slaves when closing the bond dev, so remove
the outdated comment and the braces around the left single statement.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 05e638b8ea25..486e04159bc3 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -3210,12 +3210,8 @@ static int bond_close(struct net_device *bond_dev) | |||
3210 | 3210 | ||
3211 | bond_work_cancel_all(bond); | 3211 | bond_work_cancel_all(bond); |
3212 | bond->send_peer_notif = 0; | 3212 | bond->send_peer_notif = 0; |
3213 | if (bond_is_lb(bond)) { | 3213 | if (bond_is_lb(bond)) |
3214 | /* Must be called only after all | ||
3215 | * slaves have been released | ||
3216 | */ | ||
3217 | bond_alb_deinitialize(bond); | 3214 | bond_alb_deinitialize(bond); |
3218 | } | ||
3219 | bond->recv_probe = NULL; | 3215 | bond->recv_probe = NULL; |
3220 | 3216 | ||
3221 | return 0; | 3217 | return 0; |