no memset after kzalloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
676cd0d3fc
commit
54801484c2
|
@ -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