summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptscsih.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2017-04-24 11:22:32 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-24 18:21:17 -0400
commitcfd2aff711aa9de301258d322a0b5a3c64010220 (patch)
tree272fcc093819b7881cce53fa3c5c05a1242c8909 /drivers/message/fusion/mptscsih.c
parente791ce27c3f6a1d3c746fd6a8f8e36c9540ec6f9 (diff)
downloadlinux-0-day-cfd2aff711aa9de301258d322a0b5a3c64010220.tar.gz
linux-0-day-cfd2aff711aa9de301258d322a0b5a3c64010220.tar.xz
scsi: mpt: Move scsi_remove_host() out of mptscsih_remove_host()
Commit c5ce0abeb628 ("scsi: sas: move scsi_remove_host call...") moved the call to scsi_remove_host() into sas_remove_host(), but forgot to modify the mpt drivers. Fixes: c5ce0abeb628 ("scsi: sas: move scsi_remove_host call into sas_remove_host") Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r--drivers/message/fusion/mptscsih.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index 08a807d6a44f6..6ba07c7feb92b 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -1176,8 +1176,6 @@ mptscsih_remove(struct pci_dev *pdev)
MPT_SCSI_HOST *hd;
int sz1;
- scsi_remove_host(host);
-
if((hd = shost_priv(host)) == NULL)
return;