Skip to content

Commit abfb2a5

Browse files
nsunkaddavem330
authored andcommitted
ionic: remove WARN_ON to prevent panic_on_warn
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 <nitya.sunkad@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 7709fbd commit abfb2a5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,6 @@ static void ionic_qcqs_free(struct ionic_lif *lif)
475475
static void ionic_link_qcq_interrupts(struct ionic_qcq *src_qcq,
476476
struct ionic_qcq *n_qcq)
477477
{
478-
if (WARN_ON(n_qcq->flags & IONIC_QCQ_F_INTR)) {
479-
ionic_intr_free(n_qcq->cq.lif->ionic, n_qcq->intr.index);
480-
n_qcq->flags &= ~IONIC_QCQ_F_INTR;
481-
}
482-
483478
n_qcq->intr.vector = src_qcq->intr.vector;
484479
n_qcq->intr.index = src_qcq->intr.index;
485480
n_qcq->napi_qcq = src_qcq->napi_qcq;

0 commit comments

Comments
 (0)