浏览代码

net: mvpp2: remove useless goto

Remove a goto in the PPv2 tx function which jumps to the next line
anyway. This is a cosmetic commit.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Antoine Tenart 8 年之前
父节点
当前提交
38c5eb93ac
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/ethernet/marvell/mvpp2.c

+ 0 - 1
drivers/net/ethernet/marvell/mvpp2.c

@@ -6452,7 +6452,6 @@ static int mvpp2_tx(struct sk_buff *skb, struct net_device *dev)
 		if (mvpp2_tx_frag_process(port, skb, aggr_txq, txq)) {
 		if (mvpp2_tx_frag_process(port, skb, aggr_txq, txq)) {
 			tx_desc_unmap_put(port, txq, tx_desc);
 			tx_desc_unmap_put(port, txq, tx_desc);
 			frags = 0;
 			frags = 0;
-			goto out;
 		}
 		}
 	}
 	}