diff options
author | mochel@digitalimplant.org <mochel@digitalimplant.org> | 2005-03-24 16:03:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:18 -0400 |
commit | 7dc35cdf69149a7f2b5216ada9bafe359746ac1c (patch) | |
tree | bdbcaff7bc9d2ac391aae54bc4cb23ecbf93038f | |
parent | 6eded061b1263847aedac7469339e99579aec5e5 (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.c | 1 | ||||
-rw-r--r-- | include/linux/device.h | 1 |
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 | ||
264 | struct device { | 264 | struct 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; |