dma-mapping: remove a pointless memset in dma_atomic_pool_init
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Dec 2018 16:04:31 +0000 (08:04 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 20:05:20 +0000 (21:05 +0100)
commit20b105feda8d42360bd690b8fdf6b2f00ba4a993
tree4f0f585eff733764c3fbd0e39ae1e4f30d104cd4
parent48cc8f7a1d5a4b1c5b32de5ad8a53b1c9194c6d5
dma-mapping: remove a pointless memset in dma_atomic_pool_init

We already zero the memory after allocating it from the pool that
this function fills, and having the memset here in this form means
we can't support CMA highmem allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Russell King - ARM Linux <linux@armlinux.org.uk>
kernel/dma/remap.c