| commit | 31891e7ab1e2fb04810c9195a365c43b0a8e2023 | [log] [tgz] |
|---|---|---|
| author | Luis Chamberlain <mcgrof@kernel.org> | Wed Dec 19 12:30:34 2018 -0800 |
| committer | Luis Chamberlain <mcgrof@kernel.org> | Wed Dec 19 12:51:42 2018 -0800 |
| tree | 1e36167be75eba976075cab3df4b4ab85d394063 | |
| parent | 411a5f9096383e5dee1fff0042dd0035c7777359 [diff] |
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> Cc: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>