fix NCR53C9x.c compile warning (fwd)
PATCH 1/1 fix NCR53C9x.c compile warning (fwd)
The trivial patch forwarded below still applies and compiles against 2.6.8-rc4-mm1.
Please apply.
----- Forwarded message from Adrian Bunk <[email protected]> -----
Date: Sat, 20 Dec 2003 00:13:21 +0100
From: Adrian Bunk <[email protected]>
To: [email protected], [email protected]
Cc: [email protected]
Subject: [2.6 patch] fix NCR53C9x.c compile warning
I got the following compile warning in 2.6.0-test11-mm1:
<-- snip -->
...
CC [M] drivers/scsi/NCR53C9x.odrivers/scsi/NCR53C9x.c: In function `esp_do_data':drivers/scsi/NCR53C9x.c:1838: warning: unused variable `flags'
...
<-- snip -->
The following patch fixes this warning:
Signed-off-by Adrian Bunk <[email protected]>
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" ));
Please apply
Adrian
Signature · 12 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
----- End forwarded message -----