From: Stefan Richter Date: Mon, 7 Jun 2010 22:20:10 +0000 (+0200) Subject: firewire: core: remove an unnecessary zero initialization X-Git-Tag: v2.6.36-rc3~1^2~6^3~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56d04cb189f955e5167c27944d61aa57ad69b598;p=profile%2Fcommon%2Fkernel-common.git firewire: core: remove an unnecessary zero initialization All of the fields of the iso_interrupt_event instance are overwritten right after it was allocated. Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index 32a33da..ca72cda 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c @@ -847,7 +847,7 @@ static void iso_callback(struct fw_iso_context *context, u32 cycle, struct client *client = data; struct iso_interrupt_event *e; - e = kzalloc(sizeof(*e) + header_length, GFP_ATOMIC); + e = kmalloc(sizeof(*e) + header_length, GFP_ATOMIC); if (e == NULL) return;