diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2018-12-19 12:30:34 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-01-08 07:58:49 -0500 |
commit | dfd32cad146e3624970eee9329e99d2c6ef751b3 (patch) | |
tree | 7d72650db6c1fe3ee4122edccc0af7b1b264e369 /samples | |
parent | 07a85fe14254e01bcf37f4d2e0a13f093378620b (diff) | |
download | blackbird-op-linux-dfd32cad146e3624970eee9329e99d2c6ef751b3.tar.gz blackbird-op-linux-dfd32cad146e3624970eee9329e99d2c6ef751b3.zip |
dma-mapping: remove dma_zalloc_coherent()
dma_zalloc_coherent() is no longer needed as it has no users because
dma_alloc_coherent() already zeroes out memory for us.
The Coccinelle grammar rule that used to check for dma_alloc_coherent()
+ memset() is modified so that it just tells the user that the memset is
not needed anymore.
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions