mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
x86 bounce_bus_dma_tag_destroy: Silence set but unused warning.
This commit is contained in:
parent
1f4442f71f
commit
89abc0fbbd
1 changed files with 3 additions and 2 deletions
|
|
@ -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 a new issue