diff options
author | 2012-08-24 23:27:35 +0800 | |
---|---|---|
committer | 2012-09-24 12:10:58 +0400 | |
commit | 7731e6bb312ec8bb7892c465401dbc7119aea785 (patch) | |
tree | 4143ed26e37fe135106926aa6330026ede39cabc /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
parent | [SCSI] ipr: trivial: fix small coding style issues (diff) | |
download | wireguard-linux-7731e6bb312ec8bb7892c465401dbc7119aea785.tar.xz wireguard-linux-7731e6bb312ec8bb7892c465401dbc7119aea785.zip |
[SCSI] megaraid_sas: combine kmalloc+memset into kzalloc
Use kzalloc rather than kmalloc followed by memset with 0.
Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions