scsi: qedi: Remove WARN_ON from clear task context.

Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Manish Rangankar 2017-06-15 00:10:40 -07:00 committed by Martin K. Petersen
parent 6ebf81536d
commit 02d94e0474
1 changed files with 1 additions and 3 deletions

View File

@ -1499,11 +1499,9 @@ err_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,
"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,