Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60489
b: refs/heads/master
c: c97884b
h: refs/heads/master
i:
  60487: 27ae0e4
v: v3
  • Loading branch information
Brice Goglin authored and Jeff Garzik committed Jul 16, 2007
1 parent 1b62b7e commit 204481c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be5ae973197b84e9f39784b73d08ba41931fbdc9
refs/heads/master: c97884b5de95a11d1668f134a51c1d150d214391
6 changes: 0 additions & 6 deletions trunk/drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,6 @@ static inline void myri10ge_tx_done(struct myri10ge_priv *mgp, int mcp_index)
struct myri10ge_tx_buf *tx = &mgp->tx;
struct sk_buff *skb;
int idx, len;
int limit = 0;

while (tx->pkt_done != mcp_index) {
idx = tx->done & tx->mask;
Expand Down Expand Up @@ -1091,11 +1090,6 @@ static inline void myri10ge_tx_done(struct myri10ge_priv *mgp, int mcp_index)
bus), len,
PCI_DMA_TODEVICE);
}

/* limit potential for livelock by only handling
* 2 full tx rings per call */
if (unlikely(++limit > 2 * tx->mask))
break;
}
/* start the queue if we've stopped it */
if (netif_queue_stopped(mgp->dev)
Expand Down

0 comments on commit 204481c

Please sign in to comment.