patch-2.1.92 linux/drivers/char/mem.c

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

diff -u --recursive --new-file v2.1.91/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -385,9 +385,6 @@
 		default:
 			return -EINVAL;
 	}
-	if (file->f_pos < 0)
-		return 0;
-	return file->f_pos;
 }
 
 #define mmap_kmem	mmap_mem

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