git: 92ca0e81b8a9 - main - pvscsi_adapter_reset: Mark val as unused.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 23:46:02 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=92ca0e81b8a984e919a6162803ac467d06e0f28d
commit 92ca0e81b8a984e919a6162803ac467d06e0f28d
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-06 23:45:27 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-06 23:45:27 +0000
pvscsi_adapter_reset: Mark val as unused.
This variable is unsed in a debug trace conditional on a private
debugging macro (so not eligible for __diagused).
---
sys/dev/vmware/pvscsi/pvscsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/vmware/pvscsi/pvscsi.c b/sys/dev/vmware/pvscsi/pvscsi.c
index f64b20863f60..6d80d1f0da68 100644
--- a/sys/dev/vmware/pvscsi/pvscsi.c
+++ b/sys/dev/vmware/pvscsi/pvscsi.c
@@ -745,7 +745,7 @@ pvscsi_setup_msg_ring(struct pvscsi_softc *sc)
static void
pvscsi_adapter_reset(struct pvscsi_softc *sc)
{
- uint32_t val;
+ uint32_t val __unused;
device_printf(sc->dev, "Adapter Reset\n");