From: Geert Uytterhoeven Date: Wed, 27 Jun 2012 08:57:38 +0000 (+0200) Subject: zorro: Remove unused zorro_bus.devices X-Git-Tag: v4.13~11306^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=897f3325a17e17dcdf8f3950a2b83542645902e5;p=mirror_ubuntu-bionic-kernel.git zorro: Remove unused zorro_bus.devices Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 181fa8158a8b..858c9714b2f3 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@ -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);