mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
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>
This commit is contained in:
parent
ae86e81e43
commit
56d04cb189
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user