target/configfs: use kmalloc() instead of kzalloc() for default groups
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 27 Nov 2012 17:54:21 +0000 (18:54 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 28 Nov 2012 06:49:24 +0000 (22:49 -0800)
commit13f6a91479b06133eb99f1f43be02608eb867313
tree721d72ee5d17995c8697e3dbdab5401ba9025069
parenta5675c8a8b72efdd09ccd1b0975c4670675775ef
target/configfs: use kmalloc() instead of kzalloc() for default groups

All elements are assigned even the NULL member at the end so there is no
reason to allocate zeroed memory.

(nab: Fix up minor apply breakage in for-next)

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c
drivers/target/target_core_configfs.c
drivers/target/target_core_fabric_configfs.c