VMCI: No need to clear memory after a dma_alloc_coherent() call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 24 Feb 2022 20:22:27 +0000 (21:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 10:55:01 +0000 (11:55 +0100)
commitcc312da2d3af87f183c57b672042c85cfe6f15c2
treef22276317a5e3aedfaa8b9a8a1e2a1d566eb7a81
parentb791da238992436f6269e8743b3bc23305702674
VMCI: 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().
This saves a few cycles and a few lines of code.

Acked-by: Vishnu Dasa <vdasa@vmware.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3e8c0bfaa77500e22d6c90f249da1c53dbae716e.1645734041.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_vmci/vmci_guest.c