Commit befc3801 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] kill an unused variable in sym2

parent 8f05b672
......@@ -192,12 +192,6 @@ static void __devinit pci_unmap_mem(u_long vaddr, u_long size)
}
#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)
/*
......@@ -1986,12 +1980,6 @@ sym_attach (struct scsi_host_template *tpnt, int unit, sym_device *dev)
np->s.lasttime=0;
sym_timer (np);
/*
* Done.
*/
if (!first_host)
first_host = instance;
/*
* Fill Linux host instance structure
* and return success.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment