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

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

diff -u --recursive --new-file v1.3.38/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -323,30 +323,6 @@
 	NULL		/* no special release code */
 };
 
-static struct file_operations random_fops = {
-	memory_lseek,
-	read_random,
-	write_random,
-	NULL,		/* random_readdir */
-	NULL,		/* random_select */
-	random_ioctl,
-	NULL,		/* random_mmap */
-	NULL,		/* no special open code */
-	NULL		/* no special release code */
-};
-
-static struct file_operations urandom_fops = {
-	memory_lseek,
-	read_random_unlimited,
-	write_random,
-	NULL,		/* urandom_readdir */
-	NULL,		/* urandom_select */
-	random_ioctl,
-	NULL,		/* urandom_mmap */
-	NULL,		/* no special open code */
-	NULL		/* no special release code */
-};
-
 static int memory_open(struct inode * inode, struct file * filp)
 {
 	switch (MINOR(inode->i_rdev)) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this