diff options
author | Matteo Croce <matteo@openwrt.org> | 2007-09-11 22:40:06 +0000 |
---|---|---|
committer | Matteo Croce <matteo@openwrt.org> | 2007-09-11 22:40:06 +0000 |
commit | 54801484c2f3295cfd5d0a877b18b9ba374dcc82 (patch) | |
tree | 6b78e068f06ad6861d3909c423442891726db2eb | |
parent | 676cd0d3fcceccb3dc9838a5c1674a9b0782ab0a (diff) | |
download | upstream-54801484c2f3295cfd5d0a877b18b9ba374dcc82.tar.gz upstream-54801484c2f3295cfd5d0a877b18b9ba374dcc82.tar.bz2 upstream-54801484c2f3295cfd5d0a877b18b9ba374dcc82.zip |
no memset after kzalloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/vlynq.c | 2 |
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; |