Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154492
b: refs/heads/master
c: 37c8ae3
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and David S. Miller committed Jun 26, 2009
1 parent d3a7c83 commit ae79b54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: e2a61fa31382b1ac2b22f76f9c439892e5dc4b86
refs/heads/master: 37c8ae3acf39108b3b7866897f1e3e9f277efc50
9 changes: 1 addition & 8 deletions trunk/drivers/net/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,7 @@ static irqreturn_t sh_eth_interrupt(int irq, void *netdev)
struct sh_eth_private *mdp = netdev_priv(ndev);
struct sh_eth_cpu_data *cd = mdp->cd;
irqreturn_t ret = IRQ_NONE;
u32 ioaddr, boguscnt = RX_RING_SIZE;
u32 intr_status = 0;
u32 ioaddr, intr_status = 0;

ioaddr = ndev->base_addr;
spin_lock(&mdp->lock);
Expand Down Expand Up @@ -901,12 +900,6 @@ static irqreturn_t sh_eth_interrupt(int irq, void *netdev)
if (intr_status & cd->eesr_err_check)
sh_eth_error(ndev, intr_status);

if (--boguscnt < 0) {
printk(KERN_WARNING
"%s: Too much work at interrupt, status=0x%4.4x.\n",
ndev->name, intr_status);
}

other_irq:
spin_unlock(&mdp->lock);

Expand Down

0 comments on commit ae79b54

Please sign in to comment.