aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormochel@digitalimplant.org <mochel@digitalimplant.org>2005-03-24 16:03:35 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 18:15:18 -0400
commit7dc35cdf69149a7f2b5216ada9bafe359746ac1c (patch)
treebdbcaff7bc9d2ac391aae54bc4cb23ecbf93038f
parent6eded061b1263847aedac7469339e99579aec5e5 (diff)
[PATCH] Remove struct device::bus_list.
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/base/core.c1
-rw-r--r--include/linux/device.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 0eb1d424bd1d..f258a21ed78a 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -209,7 +209,6 @@ void device_initialize(struct device *dev)
209 kobject_init(&dev->kobj); 209 kobject_init(&dev->kobj);
210 INIT_LIST_HEAD(&dev->node); 210 INIT_LIST_HEAD(&dev->node);
211 INIT_LIST_HEAD(&dev->children); 211 INIT_LIST_HEAD(&dev->children);
212 INIT_LIST_HEAD(&dev->bus_list);
213 INIT_LIST_HEAD(&dev->driver_list); 212 INIT_LIST_HEAD(&dev->driver_list);
214 INIT_LIST_HEAD(&dev->dma_pools); 213 INIT_LIST_HEAD(&dev->dma_pools);
215 init_MUTEX(&dev->sem); 214 init_MUTEX(&dev->sem);
diff --git a/include/linux/device.h b/include/linux/device.h
index f1c38d869ac9..13f65853e583 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -263,7 +263,6 @@ extern void class_device_destroy(struct class *cls, dev_t devt);
263 263
264struct device { 264struct device {
265 struct list_head node; /* node in sibling list */ 265 struct list_head node; /* node in sibling list */
266 struct list_head bus_list; /* node in bus's list */
267 struct list_head driver_list; 266 struct list_head driver_list;
268 struct list_head children; 267 struct list_head children;
269 struct klist_node knode_driver; 268 struct klist_node knode_driver;