All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kill an unused variable in sym2
@ 2003-08-25 12:45 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2003-08-25 12:45 UTC (permalink / raw)
  To: matthew; +Cc: linux-scsi


--- 1.31/drivers/scsi/sym53c8xx_2/sym_glue.c	Wed Aug 13 01:33:45 2003
+++ edited/drivers/scsi/sym53c8xx_2/sym_glue.c	Mon Aug 25 14:33:44 2003
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-25 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25 12:45 [PATCH] kill an unused variable in sym2 Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.