Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);