Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63e322aa authored by Himanshu Madhani's avatar Himanshu Madhani Committed by James Bottomley
Browse files

qla2xxx: do not clear slot in outstanding cmd array

parent 96219424
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -981,12 +981,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
	}
	}


	spin_lock_irqsave(&ha->hardware_lock, flags);
	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);
	sp->done(ha, sp, 0);
	spin_unlock_irqrestore(&ha->hardware_lock, flags);
	spin_unlock_irqrestore(&ha->hardware_lock, flags);