no memset after kzalloc
SVN-Revision: 8757
This commit is contained in:
parent
0efffbaf30
commit
1349562f8d
1 changed files with 0 additions and 2 deletions
|
@ -436,8 +436,6 @@ static int vlynq_probe(struct platform_device *pdev)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(dev, 0, sizeof(struct vlynq_device));
|
|
||||||
|
|
||||||
dev->id = pdev->id;
|
dev->id = pdev->id;
|
||||||
dev->dev.bus = &vlynq_bus_type;
|
dev->dev.bus = &vlynq_bus_type;
|
||||||
dev->dev.parent = &pdev->dev;
|
dev->dev.parent = &pdev->dev;
|
||||||
|
|
Loading…
Reference in a new issue