Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10337
b: refs/heads/master
c: b7b1d20
h: refs/heads/master
i:
  10335: f051f69
v: v3
  • Loading branch information
John W. Linville authored and Jeff Garzik committed Oct 19, 2005
1 parent 62a272f commit 3891f71
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec
refs/heads/master: b7b1d2021452d0a3562807b6a90dfa5124147a79
4 changes: 2 additions & 2 deletions trunk/drivers/net/epic100.c
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ static void epic_rx_err(struct net_device *dev, struct epic_private *ep)
static int epic_poll(struct net_device *dev, int *budget)
{
struct epic_private *ep = dev->priv;
int work_done, orig_budget;
int work_done = 0, orig_budget;
long ioaddr = dev->base_addr;

orig_budget = (*budget > dev->quota) ? dev->quota : *budget;
Expand All @@ -1343,7 +1343,7 @@ static int epic_poll(struct net_device *dev, int *budget)

epic_tx(dev, ep);

work_done = epic_rx(dev, *budget);
work_done += epic_rx(dev, *budget);

epic_rx_err(dev, ep);

Expand Down

0 comments on commit 3891f71

Please sign in to comment.