dmaengine: idxd: No need to clear memory after a dma_alloc_coherent() call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 28 May 2023 14:11:54 +0000 (16:11 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jul 2023 16:54:01 +0000 (22:24 +0530)
commit4ca95a5b220c901f9c2402532ef78bf5aaf7d35d
treec80e515200313e53c6138832004c45c899b493cf
parentb449c3f94dbf26a8c2c5427e16b631273ed81d3b
dmaengine: idxd: No need to clear memory after a dma_alloc_coherent() call

dma_alloc_coherent() already clear the allocated memory, there is no need
to explicitly call memset().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/f44be04317387f8936d31d5470963541615f30ef.1685283065.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c