Pārlūkot izejas kodu

[PATCH] fix NCR53C9x.c compile warning

drivers/scsi/NCR53C9x.c: In function `esp_do_data':
drivers/scsi/NCR53C9x.c:1838: warning: unused variable `flags'

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 20 gadi atpakaļ
vecāks
revīzija
cad359c684
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      drivers/scsi/NCR53C9x.c

+ 4 - 1
drivers/scsi/NCR53C9x.c

@@ -1824,7 +1824,10 @@ static int esp_do_data(struct NCR_ESP *esp, struct ESP_regs *eregs)
 		/* loop */
 		/* loop */
 		while (hmuch) {
 		while (hmuch) {
 			int j, fifo_stuck = 0, newphase;
 			int j, fifo_stuck = 0, newphase;
-			unsigned long flags, timeout;
+			unsigned long timeout;
+#if 0
+			unsigned long flags;
+#endif
 #if 0
 #if 0
 			if ( i % 10 )
 			if ( i % 10 )
 				ESPDATA(("\r"));
 				ESPDATA(("\r"));