git: 34781da505fd - main - bhyve: Remove unused argument from pci_nvme_handle_doorbell.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Dec 2022 18:31:40 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=34781da505fd06fc7cdf18e6e0c0eb187391d2c7
commit 34781da505fd06fc7cdf18e6e0c0eb187391d2c7
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-09 18:27:36 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-12-09 18:27:36 +0000
bhyve: Remove unused argument from pci_nvme_handle_doorbell.
Reviewed by: corvink, chuck, markj
Differential Revision: https://reviews.freebsd.org/D37650
---
usr.sbin/bhyve/pci_nvme.c | 4 ++--
1 file 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;
}