patch-2.1.56 linux/drivers/char/amigamouse.c
Next file: linux/drivers/char/apm_bios.c
Previous file: linux/drivers/block/swim3.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Sep 13 11:07:27 1997
- Orig file:
v2.1.55/linux/drivers/char/amigamouse.c
- Orig date:
Wed Apr 23 19:01:17 1997
diff -u --recursive --new-file v2.1.55/linux/drivers/char/amigamouse.c linux/drivers/char/amigamouse.c
@@ -159,11 +159,10 @@
MSE_INT_ON();
}
-static int fasync_mouse(struct inode *inode, struct file *filp, int on)
+static int fasync_mouse(struct file *filp, int on)
{
int retval;
-
- retval = fasync_helper(inode, filp, on, &mouse.fasyncptr);
+ retval = fasync_helper(filp, on, &mouse.fasyncptr);
if (retval < 0)
return retval;
return 0;
@@ -175,7 +174,7 @@
static int release_mouse(struct inode * inode, struct file * file)
{
- fasync_mouse(inode, file, 0);
+ fasync_mouse(file, 0);
if (--mouse.active)
return 0;
free_irq(IRQ_AMIGA_VERTB, mouse_interrupt);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov