Skip to contentSkip to conversation

kill an unused variable in sym2

PATCH New Christoph Hellwig 1 participant 1 message Aug 25, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kill an unused variable in sym2

drivers/scsi/sym53c8xx_2/sym_glue.c +0 -12
@@ -192,12 +192,6 @@
 }
 #endif
 
-/*
- *  Used to retrieve the host structure when the 
- *  driver is called from the proc FS.
- */
-static struct Scsi_Host	*first_host = NULL;
-
 #define scsi_data_direction(cmd)	(cmd->sc_data_direction)
 
 /*
@@ -1985,12 +1979,6 @@
 	np->s.timer.function = sym53c8xx_timer;
 	np->s.lasttime=0;
 	sym_timer (np);
-
-	/*
-	 *  Done.
-	 */
-        if (!first_host)
-        	first_host = instance;
 
 	/*
 	 *  Fill Linux host instance structure