projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c75f6e
)
net: mvpp2: remove useless goto
author
Antoine Tenart
<
[email protected]
>
Mon, 18 Sep 2017 13:36:51 +0000
(15:36 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 19 Sep 2017 20:48:08 +0000
(13:48 -0700)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/mvpp2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvpp2.c
b/drivers/net/ethernet/marvell/mvpp2.c
index dd0ee2691c863edab216c24e1e227bdb9dc84306..8041d692db3c9bb11f197bbcfe8cac48590c8880 100644
(file)
--- 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;
}
}