Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135187
b: refs/heads/master
c: 5e6d5b1
h: refs/heads/master
i:
  135185: cb8cbab
  135183: 9556e8e
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Mar 14, 2009
1 parent 3d392db commit 59f4758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 92be791759945a9170394e92c03a2e75175d6bbe
refs/heads/master: 5e6d5b17db099dd575490545a4f0af9a99fa8bbe
3 changes: 1 addition & 2 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4187,7 +4187,6 @@ static int igb_poll(struct napi_struct *napi, int budget)
{
struct igb_ring *rx_ring = container_of(napi, struct igb_ring, napi);
struct igb_adapter *adapter = rx_ring->adapter;
struct net_device *netdev = adapter->netdev;
int work_done = 0;

#ifdef CONFIG_IGB_DCA
Expand All @@ -4206,7 +4205,7 @@ static int igb_poll(struct napi_struct *napi, int budget)
}

/* If not enough Rx work done, exit the polling mode */
if ((work_done < budget) || !netif_running(netdev)) {
if (work_done < budget) {
napi_complete(napi);
igb_rx_irq_enable(rx_ring);
}
Expand Down

0 comments on commit 59f4758

Please sign in to comment.