mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
[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: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
731f56c845
commit
9ae89b0296
@ -7354,6 +7354,7 @@ _scsih_remove(struct pci_dev *pdev)
|
||||
}
|
||||
|
||||
sas_remove_host(shost);
|
||||
mpt2sas_base_detach(ioc);
|
||||
list_del(&ioc->list);
|
||||
scsi_remove_host(shost);
|
||||
scsi_host_put(shost);
|
||||
|
Loading…
Reference in New Issue
Block a user