summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qedi
diff options
context:
space:
mode:
authorManish Rangankar <manish.rangankar@cavium.com>2017-06-15 09:10:40 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-20 03:53:42 +0200
commit02d94e04747c5df55410c7b19f3cf72a1a11899b (patch)
treec9016e77c70b711f1a14e38f6556b72cc9e402d6 /drivers/scsi/qedi
parentscsi: qedi: Remove WARN_ON for untracked cleanup. (diff)
downloadlinux-02d94e04747c5df55410c7b19f3cf72a1a11899b.tar.xz
linux-02d94e04747c5df55410c7b19f3cf72a1a11899b.zip
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>
Diffstat (limited to 'drivers/scsi/qedi')
-rw-r--r--drivers/scsi/qedi/qedi_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c
index 09a294634bc7..879d3b7462f9 100644
--- a/drivers/scsi/qedi/qedi_main.c
+++ b/drivers/scsi/qedi/qedi_main.c
@@ -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,