From: Matteo Croce Date: Tue, 11 Sep 2007 22:40:06 +0000 (+0000) Subject: no memset after kzalloc X-Git-Tag: v19.07.0-rc1~38794 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1349562f8d7da4439ac6f724750edce3899f65f2;p=openwrt%2Fstaging%2Fhauke.git no memset after kzalloc SVN-Revision: 8757 --- 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;