aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-cdev.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-07 18:20:10 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-20 11:06:25 -0400
commit56d04cb189f955e5167c27944d61aa57ad69b598 (patch)
tree3cea2dce19e0a52c215b2a389f45ed51077a2041 /drivers/firewire/core-cdev.c
parentae86e81e434072be28ff4e9c1be3cc2562be8749 (diff)
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,
847 struct client *client = data; 847 struct client *client = data;
848 struct iso_interrupt_event *e; 848 struct iso_interrupt_event *e;
849 849
850 e = kzalloc(sizeof(*e) + header_length, GFP_ATOMIC); 850 e = kmalloc(sizeof(*e) + header_length, GFP_ATOMIC);
851 if (e == NULL) 851 if (e == NULL)
852 return; 852 return;
853 853