* [PATCH net-next] net: mvpp2: remove useless goto
@ 2017-09-18 13:36 Antoine Tenart
2017-09-19 20:49 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Antoine Tenart @ 2017-09-18 13:36 UTC (permalink / raw)
To: davem
Cc: Antoine Tenart, andrew, gregory.clement, thomas.petazzoni,
miquel.raynal, nadavh, linux, linux-kernel, mw, stefanc, netdev
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>
---
drivers/net/ethernet/marvell/mvpp2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c
index dd0ee2691c86..8041d692db3c 100644
--- a/drivers/net/ethernet/marvell/mvpp2.c
+++ b/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)) {
tx_desc_unmap_put(port, txq, tx_desc);
frags = 0;
- goto out;
}
}
--
2.13.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH net-next] net: mvpp2: remove useless goto
2017-09-18 13:36 [PATCH net-next] net: mvpp2: remove useless goto Antoine Tenart
@ 2017-09-19 20:49 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-09-19 20:49 UTC (permalink / raw)
To: antoine.tenart
Cc: andrew, gregory.clement, thomas.petazzoni, miquel.raynal, nadavh,
linux, linux-kernel, mw, stefanc, netdev
From: Antoine Tenart <antoine.tenart@free-electrons.com>
Date: Mon, 18 Sep 2017 15:36:51 +0200
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-19 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 13:36 [PATCH net-next] net: mvpp2: remove useless goto Antoine Tenart
2017-09-19 20:49 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).