aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahb
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-06-11 17:03:14 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-06-11 17:03:14 +0000
commit5d00bfa3cdc7fcdfd29a571dfe61ee5dc1f7269e (patch)
treea707d8d8f0d982bac5db5a62834b6b7d1eb68098 /sys/dev/ahb
parent3180f7573a4686b4fbb9e361b72e7dea064f2d44 (diff)
Notes
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r--sys/dev/ahb/ahb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c
index fd07c4438206..588e1aa1f48e 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: