isci: unify isci_host and scic_sds_controller
Remove the distinction between these two implementations and unify on
isci_host (local instances named ihost). Hmmm, we had two
'oem_parameters' instances, one was unused... nice.
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index bbfb6e5..68ca1a4 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -548,13 +548,13 @@
static void __devexit isci_pci_remove(struct pci_dev *pdev)
{
- struct isci_host *isci_host;
+ struct isci_host *ihost;
int i;
- for_each_isci_host(i, isci_host, pdev) {
- isci_unregister(isci_host);
- isci_host_deinit(isci_host);
- scic_controller_disable_interrupts(&isci_host->sci);
+ for_each_isci_host(i, ihost, pdev) {
+ isci_unregister(ihost);
+ isci_host_deinit(ihost);
+ scic_controller_disable_interrupts(ihost);
}
}