diff options
author | John Baldwin <jhb@FreeBSD.org> | 2014-06-17 18:10:06 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2014-06-17 18:10:06 +0000 |
commit | a2677ff23988c6837c24040480f4c4c16e199b18 (patch) | |
tree | ea824c0c40c8932c8b18fab28129f3863704ebf8 /sys/dev/mvs | |
parent | 37bde598325b28693235fd24ddb4c4b831683e07 (diff) | |
download | src-a2677ff23988c6837c24040480f4c4c16e199b18.tar.gz src-a2677ff23988c6837c24040480f4c4c16e199b18.zip |
Don't bother clearing maps for static DMA allocations to NULL. Instead,
leave them as purely opaque values that are only set by bus_dmamem_alloc().
Notes
Notes:
svn path=/head/; revision=267589
Diffstat (limited to 'sys/dev/mvs')
-rw-r--r-- | sys/dev/mvs/mvs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c index 8ad85a86cf77..dd5bb32cf34f 100644 --- a/sys/dev/mvs/mvs.c +++ b/sys/dev/mvs/mvs.c @@ -402,7 +402,6 @@ mvs_dmafini(device_t dev) bus_dmamem_free(ch->dma.workrp_tag, ch->dma.workrp, ch->dma.workrp_map); ch->dma.workrp_bus = 0; - ch->dma.workrp_map = NULL; ch->dma.workrp = NULL; } if (ch->dma.workrp_tag) { @@ -414,7 +413,6 @@ mvs_dmafini(device_t dev) bus_dmamem_free(ch->dma.workrq_tag, ch->dma.workrq, ch->dma.workrq_map); ch->dma.workrq_bus = 0; - ch->dma.workrq_map = NULL; ch->dma.workrq = NULL; } if (ch->dma.workrq_tag) { |