patch-2.4.9 linux/drivers/char/tpqic02.c

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

diff -u --recursive --new-file v2.4.8/linux/drivers/char/tpqic02.c linux/drivers/char/tpqic02.c
@@ -1734,12 +1734,6 @@
 } /* qic02_tape_interrupt */
 
 
-static long long qic02_tape_lseek(struct file * file, long long offset, int origin)
-{
-	return -EINVAL;	/* not supported */
-} /* qic02_tape_lseek */
-
-
 /* read/write routines:
  * This code copies between a kernel buffer and a user buffer. The 
  * actual data transfer is done using DMA and interrupts. Time-outs
@@ -2766,7 +2760,7 @@
 /* These are (most) of the interface functions: */
 static struct file_operations qic02_tape_fops = {
 	owner:		THIS_MODULE,
-	llseek:		qic02_tape_lseek,	/* not allowed */
+	llseek:		no_llseek,
 	read:		qic02_tape_read,
 	write:		qic02_tape_write,
 	ioctl:		qic02_tape_ioctl,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)