summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-02-01 17:19:57 +0000
committerian <ian@FreeBSD.org>2015-02-01 17:19:57 +0000
commitbea8bd4ccebcf38d17ed60d54b841e1436e19f6e (patch)
tree587d6761393863d2183dbb7fe1c92cc73372a616 /sys/arm
parent1a44efb220166a3c852d3f460ce55f68a6c68f29 (diff)
downloadFreeBSD-src-bea8bd4ccebcf38d17ed60d54b841e1436e19f6e.zip
FreeBSD-src-bea8bd4ccebcf38d17ed60d54b841e1436e19f6e.tar.gz
Remove a stale comment. The logic that deleted the map before other
resources was removed long ago, but the comment stuck somehow.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/busdma_machdep-v6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/arm/busdma_machdep-v6.c b/sys/arm/arm/busdma_machdep-v6.c
index d7fcffa..ed501c5 100644
--- a/sys/arm/arm/busdma_machdep-v6.c
+++ b/sys/arm/arm/busdma_machdep-v6.c
@@ -858,8 +858,6 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map)
else
ba = standard_allocator;
- /* Be careful not to access map from here on. */
-
bufzone = busdma_bufalloc_findzone(ba, dmat->maxsize);
if (bufzone != NULL && dmat->alignment <= bufzone->size &&
OpenPOWER on IntegriCloud