patch-2.4.20 linux-2.4.20/drivers/char/stallion.c
Next file: linux-2.4.20/drivers/char/sx.c
Previous file: linux-2.4.20/drivers/char/sonypi.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Thu Nov 28 15:53:12 2002
- Orig file:
linux-2.4.19/drivers/char/stallion.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/drivers/char/stallion.c linux-2.4.20/drivers/char/stallion.c
@@ -2315,7 +2315,6 @@
stlpanel_t *panelp;
unsigned int status;
char *name;
- int rc;
#if DEBUG
printk("stl_initeio(brdp=%x)\n", (int) brdp);
@@ -2436,10 +2435,10 @@
if (request_irq(brdp->irq, stl_intr, SA_SHIRQ, name, brdp) != 0) {
printk("STALLION: failed to register interrupt "
"routine for %s irq=%d\n", name, brdp->irq);
- rc = -ENODEV;
+ return -ENODEV;
}
- return(rc);
+ return 0;
}
/*****************************************************************************/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)