diff options
| -rw-r--r-- | sys/sparc64/sparc64/iommu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/sparc64/sparc64/iommu.c b/sys/sparc64/sparc64/iommu.c index 0391e997abd1b..ab3d566b0bdc6 100644 --- a/sys/sparc64/sparc64/iommu.c +++ b/sys/sparc64/sparc64/iommu.c @@ -725,10 +725,8 @@ iommu_dvmamap_unload(bus_dma_tag_t pt, bus_dma_tag_t dt, struct iommu_state *is, * If the resource is already deallocated, just pass to the parent * tag. */ - if (map->buflen == 0 || map->start == 0) { - panic("iommu_dvmamap_unload: map = %p, len = %d, addr = %lx\n", - map, (int)map->buflen, (unsigned long)map->start); - } + if (map->buflen == 0 || map->start == 0) + return; iommu_remove(is, map->start, map->buflen); map->buflen = 0; |
