[SCSI] megaraid_sas: combine kmalloc+memset into kzalloc
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 24 Aug 2012 15:27:35 +0000 (23:27 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:58 +0000 (12:10 +0400)
commit7731e6bb312ec8bb7892c465401dbc7119aea785
tree4143ed26e37fe135106926aa6330026ede39cabc
parent9728686f17304bd682038664d9a1ad28b7409af8
[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>
drivers/scsi/megaraid/megaraid_sas_fusion.c