Skip to content

Commit

Permalink
[PATCH] fix NCR53C9x.c compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed May 5, 2005
1 parent 4713741 commit cad359c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/scsi/NCR53C9x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit cad359c

Please sign in to comment.