scsi: vmw_pvscsi: No need to clear memory after a dma_alloc_coherent() call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 23 Mar 2022 20:32:22 +0000 (21:32 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Apr 2022 03:01:54 +0000 (23:01 -0400)
commit0848ccaea664970e559d99348484615ba0f7ab63
treed035d1d06072eb53850ec42ca42b03116e1febb2
parent9ad659be37612b036fdbfb535d5f831901f37db2
scsi: vmw_pvscsi: 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().

Since 'config_page' and 'header' are the same, a memset() call can be
avoided.

Link: https://lore.kernel.org/r/cd1220c628c89465dcfcbf4aa9bd53110898a529.1648067518.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/vmw_pvscsi.c