ionic: remove adminq napi instance

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

Fixes: 1d062b7b6f ("ionic: Add basic adminq support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Shannon Nelson 2020-03-16 20:22:08 -07:00 committed by David S. Miller
parent ad6fd4d311
commit ba8fb6c844
1 changed files with 1 additions and 0 deletions

View File

@ -2070,6 +2070,7 @@ static void ionic_lif_deinit(struct ionic_lif *lif)
ionic_lif_rss_deinit(lif);
napi_disable(&lif->adminqcq->napi);
netif_napi_del(&lif->adminqcq->napi);
ionic_lif_qcq_deinit(lif, lif->notifyqcq);
ionic_lif_qcq_deinit(lif, lif->adminqcq);