patch-2.4.9 linux/drivers/isdn/hysdn/hysdn_procfs.c
Next file: linux/drivers/isdn/hysdn/hysdn_proclog.c
Previous file: linux/drivers/isdn/hysdn/hysdn_procconf.c
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Sun Aug 12 10:38:48 2001
-  Orig file: 
v2.4.8/linux/drivers/isdn/hysdn/hysdn_procfs.c
-  Orig date: 
Fri Mar  2 11:12:10 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/isdn/hysdn/hysdn_procfs.c linux/drivers/isdn/hysdn/hysdn_procfs.c
@@ -113,15 +113,6 @@
 }				/* put_log_buffer */
 
 
-/*************************/
-/* dummy file operations */
-/*************************/
-static loff_t
-hysdn_dummy_lseek(struct file *file, loff_t offset, int orig)
-{
-	return -ESPIPE;
-}				/* hysdn_dummy_lseek */
-
 /**********************************/
 /* log file operations and tables */
 /**********************************/
@@ -340,7 +331,7 @@
 /**************************************************/
 static struct file_operations log_fops =
 {
-	llseek:		hysdn_dummy_lseek,
+	llseek:		no_llseek,
 	read:		hysdn_log_read,
 	write:		hysdn_log_write,
 	poll:		hysdn_log_poll,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)