scsi: esas2r: remove initialization / cleanup dead wood
esas2r has been converted to hotplug style initialization long ago, but kept various remant of the old-style scsi_module.c initialization around. Remove those. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
fa1467fb00
commit
5785bfadcd
@@ -661,27 +661,6 @@ void esas2r_kill_adapter(int i)
|
||||
}
|
||||
}
|
||||
|
||||
int esas2r_cleanup(struct Scsi_Host *host)
|
||||
{
|
||||
struct esas2r_adapter *a;
|
||||
int index;
|
||||
|
||||
if (host == NULL) {
|
||||
int i;
|
||||
|
||||
esas2r_debug("esas2r_cleanup everything");
|
||||
for (i = 0; i < MAX_ADAPTERS; i++)
|
||||
esas2r_kill_adapter(i);
|
||||
return -1;
|
||||
}
|
||||
|
||||
esas2r_debug("esas2r_cleanup called for host %p", host);
|
||||
a = (struct esas2r_adapter *)host->hostdata;
|
||||
index = a->index;
|
||||
esas2r_kill_adapter(index);
|
||||
return index;
|
||||
}
|
||||
|
||||
int esas2r_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
{
|
||||
struct Scsi_Host *host = pci_get_drvdata(pdev);
|
||||
|
Reference in New Issue
Block a user