summaryrefslogtreecommitdiff
path: root/drivers/firewire/core-cdev.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-08 02:20:10 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-20 19:06:25 +0400
commit56d04cb189f955e5167c27944d61aa57ad69b598 (patch)
tree3cea2dce19e0a52c215b2a389f45ed51077a2041 /drivers/firewire/core-cdev.c
parentae86e81e434072be28ff4e9c1be3cc2562be8749 (diff)
downloadlinux-56d04cb189f955e5167c27944d61aa57ad69b598.tar.xz
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-cdev.c')
-rw-r--r--drivers/firewire/core-cdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c
index 32a33da64991..ca72cdaa68c9 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;