aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorMatteo Croce <rootkit85@yahoo.it>2007-09-11 22:40:06 +0000
committerMatteo Croce <rootkit85@yahoo.it>2007-09-11 22:40:06 +0000
commit1349562f8d7da4439ac6f724750edce3899f65f2 (patch)
tree8a4f1403d637e5ad6e4acba1174d7f181b0319c8 /target/linux/ar7
parent0efffbaf30d6358ef6b472bd6aa40edd995ded69 (diff)
downloadupstream-1349562f8d7da4439ac6f724750edce3899f65f2.tar.gz
upstream-1349562f8d7da4439ac6f724750edce3899f65f2.tar.bz2
upstream-1349562f8d7da4439ac6f724750edce3899f65f2.zip
no memset after kzalloc
SVN-Revision: 8757
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/vlynq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/vlynq.c b/target/linux/ar7/files/arch/mips/ar7/vlynq.c
index 60ab3dd625..88e974653f 100644
--- 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;