diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-06 23:45:27 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-06 23:45:27 +0000 |
| commit | 89abc0fbbd47ef41b693c8bf89c27120c3d05d79 (patch) | |
| tree | 4352824ee8290a2439a3d9402107fada2b11c79a /sys/x86 | |
| parent | 1f4442f71fa33a8ef6d3da808e32872fb23a5700 (diff) | |
Diffstat (limited to 'sys/x86')
| -rw-r--r-- | sys/x86/x86/busdma_bounce.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/x86/x86/busdma_bounce.c b/sys/x86/x86/busdma_bounce.c index 258441cf2070..abbf64fd3965 100644 --- a/sys/x86/x86/busdma_bounce.c +++ b/sys/x86/x86/busdma_bounce.c @@ -230,12 +230,13 @@ 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 __diagused; +#ifdef KTR + bus_dma_tag_t dmat_copy = dmat; +#endif bus_dma_tag_t parent; int error; error = 0; - dmat_copy = dmat; if (dmat != NULL) { if (dmat->map_count != 0) { |
