Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134586
b: refs/heads/master
c: fbf9789
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 032162b commit 1eaf600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f11bf7a31e9a3dccf893e0fceeb1d7d9fd4dfcb4
refs/heads/master: fbf978914e8fbc804ddbd68550bb2c7d14b2049d
6 changes: 2 additions & 4 deletions trunk/drivers/net/ni65.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,6 @@ static irqreturn_t ni65_interrupt(int irq, void * dev_id)

if(csr0 & CSR0_ERR)
{
struct priv *p = dev->ml_priv;
if(debuglevel > 1)
printk(KERN_ERR "%s: general error: %04x.\n",dev->name,csr0);
if(csr0 & CSR0_BABL)
Expand All @@ -922,15 +921,15 @@ static irqreturn_t ni65_interrupt(int irq, void * dev_id)
int j;
for(j=0;j<RMDNUM;j++)
{
struct priv *p = dev->ml_priv;
int i,k,num1,num2;
int i, num2;
for(i=RMDNUM-1;i>0;i--) {
num2 = (p->rmdnum + i) & (RMDNUM-1);
if(!(p->rmdhead[num2].u.s.status & RCV_OWN))
break;
}

if(i) {
int k, num1;
for(k=0;k<RMDNUM;k++) {
num1 = (p->rmdnum + k) & (RMDNUM-1);
if(!(p->rmdhead[num1].u.s.status & RCV_OWN))
Expand All @@ -942,7 +941,6 @@ static irqreturn_t ni65_interrupt(int irq, void * dev_id)
if(debuglevel > 0)
{
char buf[256],*buf1;
int k;
buf1 = buf;
for(k=0;k<RMDNUM;k++) {
sprintf(buf1,"%02x ",(p->rmdhead[k].u.s.status)); /* & RCV_OWN) ); */
Expand Down

0 comments on commit 1eaf600

Please sign in to comment.