]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
qla2xxx: do not clear slot in outstanding cmd array
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Tue, 4 Aug 2015 17:38:01 +0000 (13:38 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:48:44 +0000 (17:48 -0700)
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_os.c

index 95bee6807f46e5bdab9b2861dcb9ed491a0d33fa..0b90fac255d3b7273fafe5f22b74e15d221d4f9e 100644 (file)
@@ -981,12 +981,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
        }
 
        spin_lock_irqsave(&ha->hardware_lock, flags);
-       /*
-        * Clear the slot in the oustanding_cmds array if we can't find the
-        * command to reclaim the resources.
-        */
-       if (rval == QLA_FUNCTION_PARAMETER_ERROR)
-               vha->req->outstanding_cmds[sp->handle] = NULL;
        sp->done(ha, sp, 0);
        spin_unlock_irqrestore(&ha->hardware_lock, flags);