git: 032253e1d2e7 - main - tdfx: Mark a variable only used under a custom debug macro as unused.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 00:27:54 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=032253e1d2e7798088dcaf8bc4f5a027bd121f22

commit 032253e1d2e7798088dcaf8bc4f5a027bd121f22
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 00:25:13 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 00:25:13 +0000

    tdfx: Mark a variable only used under a custom debug macro as unused.
---
 sys/dev/tdfx/tdfx_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 92640c54e665..79ecf112d169 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -254,7 +254,7 @@ tdfx_attach(device_t dev) {
 static int
 tdfx_detach(device_t dev) {
 	struct tdfx_softc* tdfx_info;
-	int retval;
+	int retval __unused;
 	tdfx_info = device_get_softc(dev);
 
 	/* Delete allocated resource, of course */