patch-2.3.27 linux/drivers/scsi/scsi_debug.c

Next file: linux/drivers/scsi/scsi_ioctl.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/scsi_debug.c linux/drivers/scsi/scsi_debug.c
@@ -30,13 +30,6 @@
 
 #include<linux/stat.h>
 
-struct proc_dir_entry proc_scsi_scsi_debug =
-{
-	PROC_SCSI_SCSI_DEBUG, 10, "scsi_debug",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
-
 /* A few options that we want selected */
 
 #define NR_HOSTS_PRESENT 20
@@ -558,7 +551,7 @@
 	int i;
 
 	for (i = 0; i < NR_HOSTS_PRESENT; i++) {
-		tpnt->proc_dir = &proc_scsi_scsi_debug;
+		tpnt->proc_name = "scsi_debug";	/* Huh? In the loop??? */
 		scsi_register(tpnt, 0);
 	}
 	return NR_HOSTS_PRESENT;

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