summaryrefslogtreecommitdiff
path: root/drivers/zorro
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-06-27 10:57:38 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-07-15 19:56:38 +0200
commit897f3325a17e17dcdf8f3950a2b83542645902e5 (patch)
treef7c2f977071508979fa654c5a791d3300f8a8772 /drivers/zorro
parenta8ab98484a1b3e072e2b4ac720dcb0690ec4edfa (diff)
downloadlinux-riscv-897f3325a17e17dcdf8f3950a2b83542645902e5.tar.gz
linux-riscv-897f3325a17e17dcdf8f3950a2b83542645902e5.tar.bz2
linux-riscv-897f3325a17e17dcdf8f3950a2b83542645902e5.zip
zorro: Remove unused zorro_bus.devices
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/zorro')
-rw-r--r--drivers/zorro/zorro.c2
1 files changed, 0 insertions, 2 deletions
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);