Commit 02d94e04 authored by Manish Rangankar's avatar Manish Rangankar Committed by Martin K. Petersen

scsi: qedi: Remove WARN_ON from clear task context.

Signed-off-by: default avatarManish Rangankar <manish.rangankar@cavium.com>
Reviewed-by: default avatarLee Duncan <lduncan@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 6ebf8153
...@@ -1499,11 +1499,9 @@ int qedi_get_task_idx(struct qedi_ctx *qedi) ...@@ -1499,11 +1499,9 @@ int qedi_get_task_idx(struct qedi_ctx *qedi)
void qedi_clear_task_idx(struct qedi_ctx *qedi, int idx) void qedi_clear_task_idx(struct qedi_ctx *qedi, int idx)
{ {
if (!test_and_clear_bit(idx, qedi->task_idx_map)) { if (!test_and_clear_bit(idx, qedi->task_idx_map))
QEDI_ERR(&qedi->dbg_ctx, QEDI_ERR(&qedi->dbg_ctx,
"FW task context, already cleared, tid=0x%x\n", idx); "FW task context, already cleared, tid=0x%x\n", idx);
WARN_ON(1);
}
} }
void qedi_update_itt_map(struct qedi_ctx *qedi, u32 tid, u32 proto_itt, void qedi_update_itt_map(struct qedi_ctx *qedi, u32 tid, u32 proto_itt,
......
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