mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-03 05:51:07 +02:00
no memset after kzalloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6485c8ba0a
commit
53c6d224b0
@ -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…
x
Reference in New Issue
Block a user