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

Commit 157550fb authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

bonding: Remove unnecessary else



It's unnecessary and less readable after a clause ending in a goto.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Reviewed-by: default avatarDing Tianhong <dingtianhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a7c183b
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1455,13 +1455,13 @@ int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev)

		bond_dev_queue_xmit(bond, skb, tx_slave->dev);
		goto out;
	} else {
	}

	if (tx_slave) {
		_lock_tx_hashtbl(bond);
		__tlb_clear_slave(bond, tx_slave, 0);
		_unlock_tx_hashtbl(bond);
	}
	}

	/* no suitable interface, frame not sent */
	kfree_skb(skb);