mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 03:14:50 +00:00
no memset after kzalloc
SVN-Revision: 8757
This commit is contained in:
parent
0efffbaf30
commit
1349562f8d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user