projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae86e81
)
firewire: core: remove an unnecessary zero initialization
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 7 Jun 2010 22:20:10 +0000
(
00:20
+0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 20 Jun 2010 15:06:25 +0000
(17:06 +0200)
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>
drivers/firewire/core-cdev.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/core-cdev.c
b/drivers/firewire/core-cdev.c
index 32a33da649910739925f900b5cad9c739a5bbaf7..ca72cdaa68c9ea1d9a4f1e8fa0626761407a0797 100644
(file)
--- 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 = k
z
alloc(sizeof(*e) + header_length, GFP_ATOMIC);
+ e = k
m
alloc(sizeof(*e) + header_length, GFP_ATOMIC);
if (e == NULL)
return;