Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56d04cb1 authored by Stefan Richter's avatar Stefan Richter
Browse files

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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent ae86e81e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;