aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorLi Heng <[email protected]>2020-07-30 03:03:55 +0000
committerMartin K. Petersen <[email protected]>2020-08-21 03:21:03 +0000
commitf672d7d35f88fbd84b43090450145c076f54c95a (patch)
tree65374aad02660688f9dec16fd1fa3e01ba0a1663 /drivers/scsi/pmcraid.c
parentscsi: mptctl: Remove unneeded cast from memory allocation (diff)
downloadkernel-f672d7d35f88fbd84b43090450145c076f54c95a.tar.gz
kernel-f672d7d35f88fbd84b43090450145c076f54c95a.zip
scsi: mvsas: Remove superfluous memset()
Fixes coccicheck warning: ./drivers/scsi/mvsas/mv_init.c:244:11-29: WARNING: dma_alloc_coherent use in mvi -> tx already zeroes out memory, so memset is not needed ./drivers/scsi/mvsas/mv_init.c:250:15-33: WARNING: dma_alloc_coherent use in mvi -> rx_fis already zeroes out memory, so memset is not needed ./drivers/scsi/mvsas/mv_init.c:256:11-29: WARNING: dma_alloc_coherent use in mvi -> rx already zeroes out memory, so memset is not needed ./drivers/scsi/mvsas/mv_init.c:265:13-31: WARNING: dma_alloc_coherent use in mvi -> slot 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/[email protected] Signed-off-by: Li Heng <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions