aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 95bee6807f46..0b90fac255d3 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -981,12 +981,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
981 } 981 }
982 982
983 spin_lock_irqsave(&ha->hardware_lock, flags); 983 spin_lock_irqsave(&ha->hardware_lock, flags);
984 /*
985 * Clear the slot in the oustanding_cmds array if we can't find the
986 * command to reclaim the resources.
987 */
988 if (rval == QLA_FUNCTION_PARAMETER_ERROR)
989 vha->req->outstanding_cmds[sp->handle] = NULL;
990 sp->done(ha, sp, 0); 984 sp->done(ha, sp, 0);
991 spin_unlock_irqrestore(&ha->hardware_lock, flags); 985 spin_unlock_irqrestore(&ha->hardware_lock, flags);
992 986