git: d85a58cb0c1b - main - Fix "set but not used" in busdma_bounce.

From: Scott Long <scottl_at_FreeBSD.org>
Date: Fri, 03 Dec 2021 22:21:33 UTC
The branch main has been updated by scottl:

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

commit d85a58cb0c1b28a4e35154968f39bee76fb5f6ef
Author:     Scott Long <scottl@FreeBSD.org>
AuthorDate: 2021-12-03 22:20:42 +0000
Commit:     Scott Long <scottl@FreeBSD.org>
CommitDate: 2021-12-03 22:20:42 +0000

    Fix "set but not used" in busdma_bounce.
    
    Sponsored by: Rubicon Communications, LLC ("Netgate")
---
 sys/x86/x86/busdma_bounce.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/x86/x86/busdma_bounce.c b/sys/x86/x86/busdma_bounce.c
index 5519888542d3..ee6d2d50d542 100644
--- a/sys/x86/x86/busdma_bounce.c
+++ b/sys/x86/x86/busdma_bounce.c
@@ -268,7 +268,8 @@ bounce_bus_dma_tag_set_domain(bus_dma_tag_t dmat)
 static int
 bounce_bus_dma_tag_destroy(bus_dma_tag_t dmat)
 {
-	bus_dma_tag_t dmat_copy, parent;
+	bus_dma_tag_t dmat_copy __diagused;
+	bus_dma_tag_t parent;
 	int error;
 
 	error = 0;