| 1263 | } |
| 1264 | |
| 1265 | static void |
| 1266 | ionic_lif_notifyq_deinit(struct ionic_lif *lif) |
| 1267 | { |
| 1268 | struct ionic_notify_qcq *nqcq = lif->notifyqcq; |
| 1269 | struct ionic_dev *idev = &lif->adapter->idev; |
| 1270 | |
| 1271 | if (!(nqcq->flags & IONIC_QCQ_F_INITED)) |
| 1272 | return; |
| 1273 | |
| 1274 | ionic_intr_mask(idev->intr_ctrl, nqcq->intr.index, |
| 1275 | IONIC_INTR_MASK_SET); |
| 1276 | |
| 1277 | nqcq->flags &= ~IONIC_QCQ_F_INITED; |
| 1278 | } |
| 1279 | |
| 1280 | /* This acts like ionic_napi */ |
| 1281 | int |
no test coverage detected