x86 bounce_bus_dma_tag_destroy: Silence set but unused warning.
This commit is contained in:
parent
1f4442f71f
commit
89abc0fbbd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user