diff options
-rw-r--r-- | sys/arm/arm/busdma_machdep-v6.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/arm/arm/busdma_machdep-v6.c b/sys/arm/arm/busdma_machdep-v6.c index 9b82b19..4c308d9 100644 --- a/sys/arm/arm/busdma_machdep-v6.c +++ b/sys/arm/arm/busdma_machdep-v6.c @@ -743,14 +743,6 @@ bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, map->flags = DMAMAP_DMAMEM_ALLOC; map->sync_count = 0; - /* We may need bounce pages, even for allocated memory */ - error = allocate_bz_and_pages(dmat, map); - if (error != 0) { - free(map, M_DEVBUF); - *mapp = NULL; - return (error); - } - if (dmat->segments == NULL) { dmat->segments = (bus_dma_segment_t *)malloc( sizeof(bus_dma_segment_t) * dmat->nsegments, M_DEVBUF, |