Commit ba8fb6c8 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

ionic: remove adminq napi instance

Remove the adminq's napi struct when tearing down
the adminq.

Fixes: 1d062b7b ("ionic: Add basic adminq support")
Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ad6fd4d3
...@@ -2070,6 +2070,7 @@ static void ionic_lif_deinit(struct ionic_lif *lif) ...@@ -2070,6 +2070,7 @@ static void ionic_lif_deinit(struct ionic_lif *lif)
ionic_lif_rss_deinit(lif); ionic_lif_rss_deinit(lif);
napi_disable(&lif->adminqcq->napi); napi_disable(&lif->adminqcq->napi);
netif_napi_del(&lif->adminqcq->napi);
ionic_lif_qcq_deinit(lif, lif->notifyqcq); ionic_lif_qcq_deinit(lif, lif->notifyqcq);
ionic_lif_qcq_deinit(lif, lif->adminqcq); ionic_lif_qcq_deinit(lif, lif->adminqcq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment