Message ID | 1e28d39c4d45acbbc0d0def44990875f05968fd6.1492760075.git.jthumshirn@suse.de (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 0b5b5db0d0f8..e5824758aece 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -272,10 +272,11 @@ static void isci_unregister(struct isci_host *isci_host) return; shost = to_shost(isci_host); - scsi_remove_host(shost); + sas_unregister_ha(&isci_host->sas_ha); sas_remove_host(shost); + scsi_remove_host(shost); scsi_host_put(shost); }