diff options
author | Matteo Croce <rootkit85@yahoo.it> | 2007-09-11 22:40:06 +0000 |
---|---|---|
committer | Matteo Croce <rootkit85@yahoo.it> | 2007-09-11 22:40:06 +0000 |
commit | 1349562f8d7da4439ac6f724750edce3899f65f2 (patch) | |
tree | 8a4f1403d637e5ad6e4acba1174d7f181b0319c8 | |
parent | 0efffbaf30d6358ef6b472bd6aa40edd995ded69 (diff) | |
download | upstream-1349562f8d7da4439ac6f724750edce3899f65f2.tar.gz upstream-1349562f8d7da4439ac6f724750edce3899f65f2.tar.bz2 upstream-1349562f8d7da4439ac6f724750edce3899f65f2.zip |
no memset after kzalloc
SVN-Revision: 8757
-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; |