]> err.no Git - linux-2.6/blobdiff - drivers/scsi/NCR53C9x.c
[SCSI] 2.6 aacraid: Variable FIB size (updated patch)
[linux-2.6] / drivers / scsi / NCR53C9x.c
index 3c86655a5f337676f458fd64e2f4cded73c52c44..064781a2cb1a885ed0222ab6b581fc8fbd61ecf9 100644 (file)
@@ -94,7 +94,7 @@ enum {
 };
 
 /* The master ring of all esp hosts we are managing in this driver. */
-struct NCR_ESP *espchain;
+static struct NCR_ESP *espchain;
 int nesps = 0, esps_in_use = 0, esps_running = 0;
 
 irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
@@ -1824,7 +1824,10 @@ static int esp_do_data(struct NCR_ESP *esp, struct ESP_regs *eregs)
                /* loop */
                while (hmuch) {
                        int j, fifo_stuck = 0, newphase;
-                       unsigned long flags, timeout;
+                       unsigned long timeout;
+#if 0
+                       unsigned long flags;
+#endif
 #if 0
                        if ( i % 10 )
                                ESPDATA(("\r"));