Skip to content

Commit 38c5eb9

Browse files
atenartdavem330
authored andcommitted
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>
1 parent 3c75f6e commit 38c5eb9

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/marvell

1 file changed

+0
-1
lines changed

drivers/net/ethernet/marvell/mvpp2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6452,7 +6452,6 @@ static int mvpp2_tx(struct sk_buff *skb, struct net_device *dev)
64526452
if (mvpp2_tx_frag_process(port, skb, aggr_txq, txq)) {
64536453
tx_desc_unmap_put(port, txq, tx_desc);
64546454
frags = 0;
6455-
goto out;
64566455
}
64576456
}
64586457

0 commit comments

Comments
 (0)