mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
scsi: qedi: Remove WARN_ON from clear task context.
Signed-off-by: Manish Rangankar <[email protected]> Reviewed-by: Lee Duncan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
6ebf81536d
commit
02d94e0474
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue