no memset after kzalloc

SVN-Revision: 8757
This commit is contained in:
Matteo Croce 2007-09-11 22:40:06 +00:00
parent 0efffbaf30
commit 1349562f8d

View 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;