patch-2.3.48 linux/drivers/scsi/qla1280.c

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

diff -u --recursive --new-file v2.3.47/linux/drivers/scsi/qla1280.c linux/drivers/scsi/qla1280.c
@@ -426,25 +426,6 @@
 
 #endif
 
-
-/*
- * Our directory Entry in /proc/scsi for the user to 
- * access the driver. 
- */
-
-#if 0
-
-/* Need to add in proc_fs.h     PROC_SCSI_QL1280 */
-#define PROC_SCSI_QL1280  PROC_SCSI_QLOGICISP
-
-struct proc_dir_entry proc_scsi_qla1280 = {
-    PROC_SCSI_QL1280, 7, "qla1280",                           
-    S_IFDIR | S_IRUGO | S_IXUGO, 2,
-    0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL
-};
-
-#endif
-
 /* We use the Scsi_Pointer structure that's included with each command
  * SCSI_Cmnd as a scratchpad for our SRB.
  *
@@ -2749,13 +2730,13 @@
     long         risc_code_size;
     uint16_t     mb[MAILBOX_REGISTER_COUNT];
 #ifdef QLA1280_UNUSED
+    uint8_t	*sp;
     int i;
 #endif
     uint16_t     cnt;
     int          num;
-    uint8_t    *tbuf, *sp;
+    uint8_t    *tbuf;
     u_long     p_tbuf;
-    int i;
 
 #ifdef QL_DEBUG_LEVEL_3
     ENTER("qla1280_setup_chip");

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