bonding: Remove unnecessary else

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

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Joe Perches
2014-02-18 09:42:46 -08:00
committed by David S. Miller
parent 2a7c183bc7
commit 157550fbbb

View File

@@ -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); bond_dev_queue_xmit(bond, skb, tx_slave->dev);
goto out; goto out;
} else { }
if (tx_slave) { if (tx_slave) {
_lock_tx_hashtbl(bond); _lock_tx_hashtbl(bond);
__tlb_clear_slave(bond, tx_slave, 0); __tlb_clear_slave(bond, tx_slave, 0);
_unlock_tx_hashtbl(bond); _unlock_tx_hashtbl(bond);
} }
}
/* no suitable interface, frame not sent */ /* no suitable interface, frame not sent */
kfree_skb(skb); kfree_skb(skb);