Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee8487c0 authored by nikolay@redhat.com's avatar nikolay@redhat.com Committed by David S. Miller
Browse files

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: default avatarNikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c8d23f7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -3210,12 +3210,8 @@ static int bond_close(struct net_device *bond_dev)

	bond_work_cancel_all(bond);
	bond->send_peer_notif = 0;
	if (bond_is_lb(bond)) {
		/* Must be called only after all
		 * slaves have been released
		 */
	if (bond_is_lb(bond))
		bond_alb_deinitialize(bond);
	}
	bond->recv_probe = NULL;

	return 0;