Commit c3c42394 authored by Dave Jones's avatar Dave Jones Committed by Martin K. Petersen

scsi: qla2xxx: Fix apparent cut-n-paste error.

Commit 093df737 ("scsi: qla2xxx: Fix Target mode handling with
Multiqueue changes.") introduces two bodies of code that look similar
but with s/req/rsp/ in the second instance.  But in one case, it looks
like this conversion was missed.
Signed-off-by: default avatarDave Jones <davej@codemonkey.org.uk>
Reviewed-by: default avatarLaurence Oberman <loberman@redhat.com>
Acked-by: default avatarQuinn Tran <Quinn.Tran@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c7702b8c
...@@ -466,7 +466,7 @@ static void qla2x00_free_queues(struct qla_hw_data *ha) ...@@ -466,7 +466,7 @@ static void qla2x00_free_queues(struct qla_hw_data *ha)
continue; continue;
rsp = ha->rsp_q_map[cnt]; rsp = ha->rsp_q_map[cnt];
clear_bit(cnt, ha->req_qid_map); clear_bit(cnt, ha->rsp_qid_map);
ha->rsp_q_map[cnt] = NULL; ha->rsp_q_map[cnt] = NULL;
spin_unlock_irqrestore(&ha->hardware_lock, flags); spin_unlock_irqrestore(&ha->hardware_lock, flags);
qla2x00_free_rsp_que(ha, rsp); qla2x00_free_rsp_que(ha, rsp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment