aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/pci_nvme.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bhyve/pci_nvme.c')
-rw-r--r--usr.sbin/bhyve/pci_nvme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
index a66b0abc2cc2..46bf7ba7ec45 100644
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -2836,7 +2836,7 @@ complete:
}
static void
-pci_nvme_handle_doorbell(struct vmctx *ctx __unused, struct pci_nvme_softc* sc,
+pci_nvme_handle_doorbell(struct pci_nvme_softc* sc,
uint64_t idx, int is_sq, uint64_t value)
{
DPRINTF("nvme doorbell %lu, %s, val 0x%lx",
@@ -2959,7 +2959,7 @@ pci_nvme_write_bar_0(struct vmctx *ctx, struct pci_nvme_softc* sc,
} else if (sc->compl_queues[idx].qbase == NULL)
return;
- pci_nvme_handle_doorbell(ctx, sc, idx, is_sq, value);
+ pci_nvme_handle_doorbell(sc, idx, is_sq, value);
return;
}