summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
commit86464aed71025541805e7b1515541aee89879e33 (patch)
treee01a457a4912a8553bc65524aa3125d51f29f810 /drivers/scsi/scsi_debug.c
parent88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff)
Merge with Linux 2.2.1.
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index 281c9ce28..8536f69b4 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -518,10 +518,10 @@ int scsi_debug_command(Scsi_Cmnd * SCpnt)
static void scsi_debug_intr_handle(unsigned long indx)
{
Scsi_Cmnd * SCtmp;
- int pending;
void (*my_done)(Scsi_Cmnd *);
- unsigned long flags;
+#ifdef DEBUG
int to;
+#endif
#if 0
del_timer(&timeout[indx]);
@@ -565,9 +565,11 @@ int scsi_debug_detect(Scsi_Host_Template * tpnt)
int scsi_debug_abort(Scsi_Cmnd * SCpnt)
{
+#if 0
int j;
void (*my_done)(Scsi_Cmnd *);
unsigned long flags;
+#endif
DEB(printk("scsi_debug_abort\n"));
#if 0