diff options
| author | Thomas Moestl <tmm@FreeBSD.org> | 2002-12-01 22:59:29 +0000 |
|---|---|---|
| committer | Thomas Moestl <tmm@FreeBSD.org> | 2002-12-01 22:59:29 +0000 |
| commit | fe4c53992aad64e33fd0fb0d8eb6e15d9b8ceb71 (patch) | |
| tree | 98055950b6871a5c838b9bc9d621740dfa6cb76f | |
| parent | 436114a653d4985c6f71f3186fa77a39fe8b037c (diff) | |
Notes
| -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; |
