patch-2.2.0-pre4 linux/drivers/scsi/scsi_debug.c

Next file: linux/drivers/scsi/scsi_proc.c
Previous file: linux/drivers/scsi/ppa.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/scsi/scsi_debug.c linux/drivers/scsi/scsi_debug.c
@@ -518,10 +518,10 @@
 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_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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov