diff options
author | jhb <jhb@FreeBSD.org> | 2014-06-11 17:03:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-06-11 17:03:14 +0000 |
commit | be746d4f98614a8709458715a0b43055a96d6d76 (patch) | |
tree | a707d8d8f0d982bac5db5a62834b6b7d1eb68098 /sys/dev/ahb | |
parent | f133c95804d4373447752214c71e4f88273d7c0a (diff) | |
download | FreeBSD-src-be746d4f98614a8709458715a0b43055a96d6d76.zip FreeBSD-src-be746d4f98614a8709458715a0b43055a96d6d76.tar.gz |
Fix a few more drivers that were explicitly destroying the bus_dma
map created by bus_dmamem_alloc().
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r-- | sys/dev/ahb/ahb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c index fd07c44..588e1aa 100644 --- a/sys/dev/ahb/ahb.c +++ b/sys/dev/ahb/ahb.c @@ -421,7 +421,6 @@ ahbfree(struct ahb_softc *ahb) case 3: bus_dmamem_free(ahb->ecb_dmat, ahb->ecb_array, ahb->ecb_dmamap); - bus_dmamap_destroy(ahb->ecb_dmat, ahb->ecb_dmamap); case 2: bus_dma_tag_destroy(ahb->ecb_dmat); case 1: |