diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2008-04-03 16:13:15 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:13 -0400 |
commit | 0ddda2d1529f2d01d3b043782d2efcf0499fc3db (patch) | |
tree | 4ae361d425ce6cf4c287f36fdef07d985d6af47d /drivers/scsi/qla2xxx/qla_os.c | |
parent | 2ae2b3709542a4b5b691985ecbdf3b79303d9e56 (diff) |
[SCSI] qla2xxx: Remove unused and obsolete #define's.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
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__)); |