scsi: pmcraid: Remove superfluous memset()
authorLi Heng <liheng40@huawei.com>
Thu, 30 Jul 2020 03:31:56 +0000 (11:31 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Aug 2020 03:25:48 +0000 (23:25 -0400)
commit7b1d886298077e8fb1f6c1d44cdb22872bb5bb8c
treeca83ba8d37f04108c7ffbf80c5ed550d70738be9
parentf672d7d35f88fbd84b43090450145c076f54c95a
scsi: pmcraid: Remove superfluous memset()

Fixes coccicheck warning:

./drivers/scsi/pmcraid.c:4709:3-21: WARNING: dma_alloc_coherent use in pinstance -> hrrq_start [ i ] already zeroes out memory,  so memset is not needed

dma_alloc_coherent() already zeroes out memory so memset() is not needed.

Link: https://lore.kernel.org/r/1596079918-41115-2-git-send-email-liheng40@huawei.com
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pmcraid.c