diff options
author | James Bottomley <JBottomley@Odin.com> | 2015-11-12 13:06:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-11-12 13:06:18 +0100 |
commit | febdfbd2137a5727f70dfbf920105c07e6c2a21e (patch) | |
tree | 9483a5493ad3e08626e1f53ded594f88a6f4e710 /drivers/scsi/isci | |
parent | stex: Remove use of struct timeval (diff) | |
parent | sd: Clear PS bit before Mode Select. (diff) | |
download | linux-febdfbd2137a5727f70dfbf920105c07e6c2a21e.tar.xz linux-febdfbd2137a5727f70dfbf920105c07e6c2a21e.zip |
Merge tag '4.4-scsi-mkp' into misc
SCSI queue for 4.4.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci')
-rw-r--r-- | drivers/scsi/isci/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 2f973df72d9b..77128d680e3b 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -271,11 +271,11 @@ static void isci_unregister(struct isci_host *isci_host) if (!isci_host) return; + shost = to_shost(isci_host); + scsi_remove_host(shost); sas_unregister_ha(&isci_host->sas_ha); - shost = to_shost(isci_host); sas_remove_host(shost); - scsi_remove_host(shost); scsi_host_put(shost); } |