projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4713741
)
[PATCH] fix NCR53C9x.c compile warning
author
Adrian Bunk
<bunk@stusta.de>
Thu, 5 May 2005 23:16:18 +0000
(16:16 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:50 +0000
(16:36 -0700)
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>
drivers/scsi/NCR53C9x.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/NCR53C9x.c
b/drivers/scsi/NCR53C9x.c
index 3c86655a5f337676f458fd64e2f4cded73c52c44..74b93564a258fdc44ee45e73c833a157b31ec0f5 100644
(file)
--- 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"));