bhyve: Remove unused argument from pci_nvme_handle_doorbell.
Reviewed by: corvink, chuck, markj Differential Revision: https://reviews.freebsd.org/D37650
This commit is contained in:
parent
af3b48e101
commit
34781da505
@ -2836,7 +2836,7 @@ pci_nvme_handle_io_cmd(struct pci_nvme_softc* sc, uint16_t idx)
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user