Skip to contentSkip to conversation

fix NCR53C9x.c compile warning

PATCH New Adrian Bunk 1 participant 1 message Mar 27, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix NCR53C9x.c compile warning

This patch fixes the following warning:

CC [M] drivers/scsi/NCR53C9x.o
drivers/scsi/NCR53C9x.c: In function `esp_do_data':
drivers/scsi/NCR53C9x.c:1838: warning: unused variable `flags'

---

This patch was already sent on:
- 12 Aug 2004
- 20 Dec 2003

drivers/scsi/NCR53C9x.c renamed from drivers/scsi/NCR53C9x.c.old +4 -1
@@ -1835,7 +1835,10 @@
 		/* 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"));