projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0efffba
)
no memset after kzalloc
author
Matteo Croce
<rootkit85@yahoo.it>
Tue, 11 Sep 2007 22:40:06 +0000
(22:40 +0000)
committer
Matteo Croce
<rootkit85@yahoo.it>
Tue, 11 Sep 2007 22:40:06 +0000
(22:40 +0000)
SVN-Revision: 8757
target/linux/ar7/files/arch/mips/ar7/vlynq.c
patch
|
blob
|
history
diff --git
a/target/linux/ar7/files/arch/mips/ar7/vlynq.c
b/target/linux/ar7/files/arch/mips/ar7/vlynq.c
index 60ab3dd625a9b4b4e65b21619d83911a65bf57a5..88e974653ffb0861ea79c46ca183e997db702e04 100644
(file)
--- a/
target/linux/ar7/files/arch/mips/ar7/vlynq.c
+++ b/
target/linux/ar7/files/arch/mips/ar7/vlynq.c
@@
-436,8
+436,6
@@
static int vlynq_probe(struct platform_device *pdev)
return -ENOMEM;
}
- memset(dev, 0, sizeof(struct vlynq_device));
-
dev->id = pdev->id;
dev->dev.bus = &vlynq_bus_type;
dev->dev.parent = &pdev->dev;