Skip to content

Commit 4c7276a

Browse files
nsunkadgregkh
authored andcommitted
ionic: remove WARN_ON to prevent panic_on_warn
[ Upstream commit abfb2a5 ] Remove unnecessary early code development check and the WARN_ON that it uses. The irq alloc and free paths have long been cleaned up and this check shouldn't have stuck around so long. Fixes: 77ceb68 ("ionic: Add notifyq support") Signed-off-by: Nitya Sunkad <[email protected]> Signed-off-by: Shannon Nelson <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 3e77647 commit 4c7276a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/net/ethernet/pensando/ionic/ionic_lif.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,6 @@ static void ionic_qcqs_free(struct ionic_lif *lif)
332332
static void ionic_link_qcq_interrupts(struct ionic_qcq *src_qcq,
333333
struct ionic_qcq *n_qcq)
334334
{
335-
if (WARN_ON(n_qcq->flags & IONIC_QCQ_F_INTR)) {
336-
ionic_intr_free(n_qcq->cq.lif->ionic, n_qcq->intr.index);
337-
n_qcq->flags &= ~IONIC_QCQ_F_INTR;
338-
}
339-
340335
n_qcq->intr.vector = src_qcq->intr.vector;
341336
n_qcq->intr.index = src_qcq->intr.index;
342337
}

0 commit comments

Comments
 (0)