zorro: Remove unused zorro_bus.devices
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
a8ab98484a
commit
897f3325a1
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue