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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/in2000.c linux/drivers/scsi/in2000.c
@@ -2023,7 +2023,7 @@
  * initialize it.
  */
 
-      tpnt->proc_dir = &proc_scsi_in2000; /* done more than once? harmless. */
+      tpnt->proc_name = "in2000";
       detect_count++;
       instance  = scsi_register(tpnt, sizeof(struct IN2000_hostdata));
       if (!instance_list)
@@ -2186,13 +2186,6 @@
       }
     return 0;
 }
-
-
-
-struct proc_dir_entry proc_scsi_in2000 = {
-   PROC_SCSI_IN2000, 6, "in2000",
-   S_IFDIR | S_IRUGO | S_IXUGO, 2
-   };
 
 
 int in2000_proc_info(char *buf, char **start, off_t off, int len, int hn, int in)

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