提交 897f3325 编写于 作者: G Geert Uytterhoeven

zorro: Remove unused zorro_bus.devices

Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
上级 a8ab9848
......@@ -37,7 +37,6 @@ struct zorro_dev zorro_autocon[ZORRO_NUM_AUTO];
*/
struct zorro_bus {
struct list_head devices; /* list of devices on this bus */
struct device dev;
};
......@@ -136,7 +135,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
if (!bus)
return -ENOMEM;
INIT_LIST_HEAD(&bus->devices);
bus->dev.parent = &pdev->dev;
dev_set_name(&bus->dev, "zorro");
error = device_register(&bus->dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册