From 0e192fecb41cb3d8e4b61ceee3c7cfb14d934a0d Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 1 Feb 2015 17:19:57 +0000 Subject: [PATCH] Remove a stale comment. The logic that deleted the map before other resources was removed long ago, but the comment stuck somehow. --- sys/arm/arm/busdma_machdep-v6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/arm/arm/busdma_machdep-v6.c b/sys/arm/arm/busdma_machdep-v6.c index d7fcffa31d5e..ed501c50af32 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 &&