]> err.no Git - linux-2.6/commit
[SCSI] zfcp: Replace kmalloc/memset with kzalloc
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 18 Jul 2007 08:55:08 +0000 (10:55 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:32:33 +0000 (11:32 -0500)
commit0d661327a7578c3fca43db78f32e92a902237e7a
tree78fd0bcc9dcd17e43261fd54ab46a59dace621ed
parent08547354c17a50a54906b7936d6ecb05ea39bedd
[SCSI] zfcp: Replace kmalloc/memset with kzalloc

Memory allocated with kmalloc is always initialzed to 0 with memset.
Replace the two calls with kzalloc, that already does both steps.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_erp.c