mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
riscv bounce_bus_dma_tag_destroy: Silence set but unused warning.
This commit is contained in:
parent
8209266cab
commit
9a0cd76bb0
1 changed files with 4 additions and 2 deletions
|
|
@ -200,11 +200,13 @@ bounce_bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
|
|||
static int
|
||||
bounce_bus_dma_tag_destroy(bus_dma_tag_t dmat)
|
||||
{
|
||||
bus_dma_tag_t dmat_copy, parent;
|
||||
#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