diff options
| author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-04-06 12:02:10 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-19 02:33:58 +0300 |
| commit | 3c6c122cfcbc2264d8414d292ebe2803b7e20215 (patch) | |
| tree | 7fda020858d1ba466e414f783d058a30b9a3a1f7 /include | |
| parent | 6b1f8376dc34fb3b728672ed6e06751f26b3b225 (diff) | |
| download | linux-3c6c122cfcbc2264d8414d292ebe2803b7e20215.tar.xz | |
scsi: megaraid_sas: Use zeroing memory allocator than allocator/memset
Use pci_zalloc_consistent for allocating zeroed memory and remove
unnecessary memset function.
Done using Coccinelle.
Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
