no memset after kzalloc

SVN-Revision: 8757
lede-17.01
Matteo Croce 2007-09-11 22:40:06 +00:00
parent 0efffbaf30
commit 1349562f8d
1 changed files with 0 additions and 2 deletions

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;