diff options
author | Li Heng <liheng40@huawei.com> | 2020-07-30 11:31:58 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-20 23:25:49 -0400 |
commit | 4a636e9c7a2107b9a590f08d6f8f8a917e6b85de (patch) | |
tree | 79fdcded9f76f318b05eeda116c308ffd9a03257 /fs | |
parent | bef93fbfcf4ae9ecaa50e38d32cf6b8dbce4a797 (diff) |
scsi: mpt3sas: Remove superfluous memset()
Fixes coccicheck warning:
./drivers/scsi/mpt3sas/mpt3sas_base.c:5247:16-34: WARNING: dma_alloc_coherent use in ioc -> request 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-4-git-send-email-liheng40@huawei.com
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions