diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 2d28937d30c7..661a1596679d 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -816,15 +816,6 @@ qla2xxx_eh_device_reset(struct scsi_cmnd *cmd) | |||
816 | if (qla2x00_wait_for_loop_ready(ha) == QLA_SUCCESS) { | 816 | if (qla2x00_wait_for_loop_ready(ha) == QLA_SUCCESS) { |
817 | if (qla2x00_device_reset(ha, fcport) == 0) | 817 | if (qla2x00_device_reset(ha, fcport) == 0) |
818 | ret = SUCCESS; | 818 | ret = SUCCESS; |
819 | |||
820 | #if defined(LOGOUT_AFTER_DEVICE_RESET) | ||
821 | if (ret == SUCCESS) { | ||
822 | if (fcport->flags & FC_FABRIC_DEVICE) { | ||
823 | ha->isp_ops->fabric_logout(ha, fcport->loop_id); | ||
824 | qla2x00_mark_device_lost(ha, fcport, 0, 0); | ||
825 | } | ||
826 | } | ||
827 | #endif | ||
828 | } else { | 819 | } else { |
829 | DEBUG2(printk(KERN_INFO | 820 | DEBUG2(printk(KERN_INFO |
830 | "%s failed: loop not ready\n",__func__)); | 821 | "%s failed: loop not ready\n",__func__)); |