no memset after kzalloc
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Sep 2007 22:40:06 +0000 (22:40 +0000)
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Sep 2007 22:40:06 +0000 (22:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar7/files/arch/mips/ar7/vlynq.c

index 60ab3dd..88e9746 100644 (file)
@@ -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;
This page took 0.022968 seconds and 4 git commands to generate.