Remove a stale comment. The logic that deleted the map before other
resources was removed long ago, but the comment stuck somehow.
This commit is contained in:
parent
573a66c3dc
commit
0e192fecb4
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user