[PATCH] Remove struct device::bus_list.

From: Greg KH
Date: Mon Jun 20 2005 - 21:45:19 EST


[PATCH] Remove struct device::bus_list.

Signed-off-by: Patrick Mochel <mochel@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
commit 7dc35cdf69149a7f2b5216ada9bafe359746ac1c
tree bdbcaff7bc9d2ac391aae54bc4cb23ecbf93038f
parent 6eded061b1263847aedac7469339e99579aec5e5
author mochel@xxxxxxxxxxxxxxxxxx <mochel@xxxxxxxxxxxxxxxxxx> Thu, 24 Mar 2005 13:03:35 -0800
committer Greg Kroah-Hartman <gregkh@xxxxxxx> Mon, 20 Jun 2005 15:15:18 -0700

drivers/base/core.c | 1 -
include/linux/device.h | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -209,7 +209,6 @@ void device_initialize(struct device *de
kobject_init(&dev->kobj);
INIT_LIST_HEAD(&dev->node);
INIT_LIST_HEAD(&dev->children);
- INIT_LIST_HEAD(&dev->bus_list);
INIT_LIST_HEAD(&dev->driver_list);
INIT_LIST_HEAD(&dev->dma_pools);
init_MUTEX(&dev->sem);
diff --git a/include/linux/device.h b/include/linux/device.h
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -263,7 +263,6 @@ extern void class_device_destroy(struct

struct device {
struct list_head node; /* node in sibling list */
- struct list_head bus_list; /* node in bus's list */
struct list_head driver_list;
struct list_head children;
struct klist_node knode_driver;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/