diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 16:16:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 16:36:50 -0700 |
commit | cad359c68455d6870d053184bbb0ae208e207eef (patch) | |
tree | 9252eea9fc4aa168f949157c992a943134664b5b | |
parent | 4713741955736210511a5959bf13e92f8598dacd (diff) | |
download | op-kernel-dev-cad359c68455d6870d053184bbb0ae208e207eef.zip op-kernel-dev-cad359c68455d6870d053184bbb0ae208e207eef.tar.gz |
[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>
-rw-r--r-- | drivers/scsi/NCR53C9x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/NCR53C9x.c b/drivers/scsi/NCR53C9x.c index 3c86655..74b9356 100644 --- a/drivers/scsi/NCR53C9x.c +++ b/drivers/scsi/NCR53C9x.c @@ -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")); |