patch-2.1.56 linux/drivers/char/atixlmouse.c

Next file: linux/drivers/char/busmouse.c
Previous file: linux/drivers/char/atarimouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/drivers/char/atixlmouse.c linux/drivers/char/atixlmouse.c
@@ -95,11 +95,10 @@
 	ATIXL_MSE_ENABLE_UPDATE();
 }
 
-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.fasync);
+	retval = fasync_helper(filp, on, &mouse.fasync);
 	if (retval < 0)
 		return retval;
 	return 0;
@@ -107,7 +106,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;
 	ATIXL_MSE_INT_OFF(); /* Interrupts are really shut down here */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov