From 1349562f8d7da4439ac6f724750edce3899f65f2 Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Tue, 11 Sep 2007 22:40:06 +0000 Subject: [PATCH] no memset after kzalloc SVN-Revision: 8757 --- target/linux/ar7/files/arch/mips/ar7/vlynq.c | 2 -- 1 file changed, 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; -- 2.25.1