patch-2.1.56 linux/drivers/char/psaux.c
Next file: linux/drivers/char/rtc.c
Previous file: linux/drivers/char/pcwd.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Sat Sep 13 11:07:27 1997
- Orig file:
v2.1.55/linux/drivers/char/psaux.c
- Orig date:
Mon Aug 4 16:25:37 1997
diff -u --recursive --new-file v2.1.55/linux/drivers/char/psaux.c linux/drivers/char/psaux.c
@@ -102,11 +102,11 @@
return queue->head == queue->tail;
}
-static int fasync_aux(struct inode *inode, struct file *filp, int on)
+static int fasync_aux(struct file *filp, int on)
{
int retval;
- retval = fasync_helper(inode, filp, on, &queue->fasync);
+ retval = fasync_helper(filp, on, &queue->fasync);
if (retval < 0)
return retval;
return 0;
@@ -239,7 +239,7 @@
static int release_aux(struct inode * inode, struct file * file)
{
- fasync_aux(inode, file, 0);
+ fasync_aux(file, 0);
if (--aux_count)
return 0;
aux_start_atomic();
@@ -387,7 +387,7 @@
{
unsigned char status;
- fasync_aux(inode, file, 0);
+ fasync_aux(file, 0);
if (!--qp_count) {
if (!poll_qp_status())
printk("Warning: Mouse device busy in release_qp()\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov