summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/files/arch
diff options
context:
space:
mode:
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-11 22:40:06 +0000
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-11 22:40:06 +0000
commit53c6d224b06017545536ff9cf7a5554cc1f55771 (patch)
tree6b78e068f06ad6861d3909c423442891726db2eb /target/linux/ar7/files/arch
parent6485c8ba0a21f44100aa96123f2edd70fe9edbe6 (diff)
no memset after kzalloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/arch')
-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 60ab3dd62..88e974653 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;