aboutsummaryrefslogtreecommitdiff
path: root/sys
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
parent3180f7573a4686b4fbb9e361b72e7dea064f2d44 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/aha/aha.c2
-rw-r--r--sys/dev/ahb/ahb.c1
-rw-r--r--sys/dev/aic7xxx/aic79xx.c2
-rw-r--r--sys/dev/aic7xxx/aic7xxx.c6
-rw-r--r--sys/dev/de/if_de.c1
5 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index 4efbb32d159f..7ccd1c3c73eb 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -209,7 +209,6 @@ aha_free(struct aha_softc *aha)
case 6:
bus_dmamem_free(aha->ccb_dmat, aha->aha_ccb_array,
aha->ccb_dmamap);
- bus_dmamap_destroy(aha->ccb_dmat, aha->ccb_dmamap);
case 5:
bus_dma_tag_destroy(aha->ccb_dmat);
case 4:
@@ -217,7 +216,6 @@ aha_free(struct aha_softc *aha)
case 3:
bus_dmamem_free(aha->mailbox_dmat, aha->in_boxes,
aha->mailbox_dmamap);
- bus_dmamap_destroy(aha->mailbox_dmat, aha->mailbox_dmamap);
case 2:
bus_dma_tag_destroy(aha->buffer_dmat);
case 1:
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:
diff --git a/sys/dev/aic7xxx/aic79xx.c b/sys/dev/aic7xxx/aic79xx.c
index fac80cabeb3e..2c8b6d455244 100644
--- a/sys/dev/aic7xxx/aic79xx.c
+++ b/sys/dev/aic7xxx/aic79xx.c
@@ -5413,8 +5413,6 @@ ahd_free(struct ahd_softc *ahd)
case 3:
aic_dmamem_free(ahd, ahd->shared_data_dmat, ahd->qoutfifo,
ahd->shared_data_map.dmamap);
- aic_dmamap_destroy(ahd, ahd->shared_data_dmat,
- ahd->shared_data_map.dmamap);
/* FALLTHROUGH */
case 2:
aic_dma_tag_destroy(ahd, ahd->shared_data_dmat);
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c
index e1428e988669..f1723fbab53e 100644
--- a/sys/dev/aic7xxx/aic7xxx.c
+++ b/sys/dev/aic7xxx/aic7xxx.c
@@ -4061,8 +4061,6 @@ ahc_free(struct ahc_softc *ahc)
case 3:
aic_dmamem_free(ahc, ahc->shared_data_dmat, ahc->qoutfifo,
ahc->shared_data_dmamap);
- aic_dmamap_destroy(ahc, ahc->shared_data_dmat,
- ahc->shared_data_dmamap);
/* FALLTHROUGH */
case 2:
aic_dma_tag_destroy(ahc, ahc->shared_data_dmat);
@@ -4501,8 +4499,6 @@ ahc_fini_scbdata(struct ahc_softc *ahc)
case 5:
aic_dmamem_free(ahc, scb_data->sense_dmat, scb_data->sense,
scb_data->sense_dmamap);
- aic_dmamap_destroy(ahc, scb_data->sense_dmat,
- scb_data->sense_dmamap);
case 4:
aic_dma_tag_destroy(ahc, scb_data->sense_dmat);
case 3:
@@ -4511,8 +4507,6 @@ ahc_fini_scbdata(struct ahc_softc *ahc)
case 2:
aic_dmamem_free(ahc, scb_data->hscb_dmat, scb_data->hscbs,
scb_data->hscb_dmamap);
- aic_dmamap_destroy(ahc, scb_data->hscb_dmat,
- scb_data->hscb_dmamap);
case 1:
aic_dma_tag_destroy(ahc, scb_data->hscb_dmat);
break;
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 5e8886bec43c..71448ab681a4 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -4558,7 +4558,6 @@ tulip_busdma_cleanup(tulip_softc_t * const sc)
if (sc->tulip_setupbuf != NULL) {
bus_dmamem_free(sc->tulip_setup_tag, sc->tulip_setupbuf,
sc->tulip_setup_map);
- bus_dmamap_destroy(sc->tulip_setup_tag, sc->tulip_setup_map);
sc->tulip_setup_map = NULL;
sc->tulip_setupbuf = NULL;
}