]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: do not clear slot in outstanding cmd array
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Tue, 6 Oct 2015 09:19:37 +0000 (14:49 +0530)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 22:09:43 +0000 (18:09 -0400)
Orabug: 21946579

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>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_os.c

index 97edc67b0d6889c976db73992a40a654de516117..a17147bb17f73e856499b1615c1db40b9fbb078e 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);