From: matteo Date: Tue, 11 Sep 2007 22:40:06 +0000 (+0000) Subject: no memset after kzalloc X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/53c6d224b06017545536ff9cf7a5554cc1f55771?ds=inline no memset after kzalloc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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;