From 53c6d224b06017545536ff9cf7a5554cc1f55771 Mon Sep 17 00:00:00 2001 From: matteo Date: Tue, 11 Sep 2007 22:40:06 +0000 Subject: no memset after kzalloc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 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; -- cgit v1.2.3