git: 477ca9b8ef7a - stable/13 - bhyve: Remove unused argument from pci_nvme_handle_doorbell.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 22:34:52 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=477ca9b8ef7a958f5895820616f88a1d3212b51e
commit 477ca9b8ef7a958f5895820616f88a1d3212b51e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-09 18:27:36 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 22:16:14 +0000
bhyve: Remove unused argument from pci_nvme_handle_doorbell.
Reviewed by: corvink, chuck, markj
Differential Revision: https://reviews.freebsd.org/D37650
(cherry picked from commit 34781da505fd06fc7cdf18e6e0c0eb187391d2c7)
---
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;
}