diff options
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_init.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index f6c336b05d5b..662b2321d1b0 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -73,7 +73,6 @@ static struct scsi_host_template aic94xx_sht = { | |||
73 | .eh_bus_reset_handler = sas_eh_bus_reset_handler, | 73 | .eh_bus_reset_handler = sas_eh_bus_reset_handler, |
74 | .target_destroy = sas_target_destroy, | 74 | .target_destroy = sas_target_destroy, |
75 | .ioctl = sas_ioctl, | 75 | .ioctl = sas_ioctl, |
76 | .use_blk_tags = 1, | ||
77 | .track_queue_depth = 1, | 76 | .track_queue_depth = 1, |
78 | }; | 77 | }; |
79 | 78 | ||
@@ -704,10 +703,10 @@ static int asd_unregister_sas_ha(struct asd_ha_struct *asd_ha) | |||
704 | { | 703 | { |
705 | int err; | 704 | int err; |
706 | 705 | ||
706 | scsi_remove_host(asd_ha->sas_ha.core.shost); | ||
707 | err = sas_unregister_ha(&asd_ha->sas_ha); | 707 | err = sas_unregister_ha(&asd_ha->sas_ha); |
708 | 708 | ||
709 | sas_remove_host(asd_ha->sas_ha.core.shost); | 709 | sas_remove_host(asd_ha->sas_ha.core.shost); |
710 | scsi_remove_host(asd_ha->sas_ha.core.shost); | ||
711 | scsi_host_put(asd_ha->sas_ha.core.shost); | 710 | scsi_host_put(asd_ha->sas_ha.core.shost); |
712 | 711 | ||
713 | kfree(asd_ha->sas_ha.sas_phy); | 712 | kfree(asd_ha->sas_ha.sas_phy); |