git: ea53f4fe7b20 - stable/13 - bhyve: Annotate an unused function as such
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 19:47:55 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=ea53f4fe7b209cc472ff8a619ad342ccd55d107b
commit ea53f4fe7b209cc472ff8a619ad342ccd55d107b
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-23 14:46:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 19:31:36 +0000
bhyve: Annotate an unused function as such
No functional change intended.
MFC after: 1 week
(cherry picked from commit eb805f4e0f6a7b1567aa4cf4eb1c4484dac67ae5)
---
usr.sbin/bhyve/pci_e82545.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/bhyve/pci_e82545.c b/usr.sbin/bhyve/pci_e82545.c
index 38be6a565219..1591136002f6 100644
--- a/usr.sbin/bhyve/pci_e82545.c
+++ b/usr.sbin/bhyve/pci_e82545.c
@@ -364,7 +364,7 @@ static void e82545_tx_start(struct e82545_softc *sc);
static void e82545_tx_enable(struct e82545_softc *sc);
static void e82545_tx_disable(struct e82545_softc *sc);
-static inline int
+static inline int __unused
e82545_size_stat_index(uint32_t size)
{
if (size <= 64) {