Commit 897f3325 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

zorro: Remove unused zorro_bus.devices

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent a8ab9848
...@@ -37,7 +37,6 @@ struct zorro_dev zorro_autocon[ZORRO_NUM_AUTO]; ...@@ -37,7 +37,6 @@ struct zorro_dev zorro_autocon[ZORRO_NUM_AUTO];
*/ */
struct zorro_bus { struct zorro_bus {
struct list_head devices; /* list of devices on this bus */
struct device dev; struct device dev;
}; };
...@@ -136,7 +135,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) ...@@ -136,7 +135,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
if (!bus) if (!bus)
return -ENOMEM; return -ENOMEM;
INIT_LIST_HEAD(&bus->devices);
bus->dev.parent = &pdev->dev; bus->dev.parent = &pdev->dev;
dev_set_name(&bus->dev, "zorro"); dev_set_name(&bus->dev, "zorro");
error = device_register(&bus->dev); error = device_register(&bus->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment