no memset after kzalloc
authorMatteo Croce <rootkit85@yahoo.it>
Tue, 11 Sep 2007 22:40:06 +0000 (22:40 +0000)
committerMatteo Croce <rootkit85@yahoo.it>
Tue, 11 Sep 2007 22:40:06 +0000 (22:40 +0000)
SVN-Revision: 8757

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

index 60ab3dd625a9b4b4e65b21619d83911a65bf57a5..88e974653ffb0861ea79c46ca183e997db702e04 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;