summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r--drivers/scsi/qla1280.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index e216ef03a..42f208062 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -426,25 +426,6 @@ static char dummy_buffer[60] = "Please don't add commas in your insmod command!!
#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 @@ qla1280_setup_chip(scsi_qla_host_t *ha)
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");