Commit 9ae89b02 authored by kashyap.desai@lsi.com's avatar kashyap.desai@lsi.com Committed by James Bottomley

[SCSI] mpt2sas: Added missing mpt2sas_base_detach call from scsih_remove context

mpt2sas_base_detach() call was removed from _scsih_remove() while
doing some code shuffling.  Mainly when we work on adding code for
scsih_shutdown().  I have added back mpt2sas_base_detach() which will
get callled from _scsih_remove().
Signed-off-by: default avatarKashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 731f56c8
...@@ -7354,6 +7354,7 @@ _scsih_remove(struct pci_dev *pdev) ...@@ -7354,6 +7354,7 @@ _scsih_remove(struct pci_dev *pdev)
} }
sas_remove_host(shost); sas_remove_host(shost);
mpt2sas_base_detach(ioc);
list_del(&ioc->list); list_del(&ioc->list);
scsi_remove_host(shost); scsi_remove_host(shost);
scsi_host_put(shost); scsi_host_put(shost);
......
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