Commit 7dc35cdf authored by mochel@digitalimplant.org's avatar mochel@digitalimplant.org Committed by Greg Kroah-Hartman

[PATCH] Remove struct device::bus_list.

Signed-off-by: default avatarPatrick Mochel <mochel@digitalimplant.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6eded061
...@@ -209,7 +209,6 @@ void device_initialize(struct device *dev) ...@@ -209,7 +209,6 @@ void device_initialize(struct device *dev)
kobject_init(&dev->kobj); kobject_init(&dev->kobj);
INIT_LIST_HEAD(&dev->node); INIT_LIST_HEAD(&dev->node);
INIT_LIST_HEAD(&dev->children); INIT_LIST_HEAD(&dev->children);
INIT_LIST_HEAD(&dev->bus_list);
INIT_LIST_HEAD(&dev->driver_list); INIT_LIST_HEAD(&dev->driver_list);
INIT_LIST_HEAD(&dev->dma_pools); INIT_LIST_HEAD(&dev->dma_pools);
init_MUTEX(&dev->sem); init_MUTEX(&dev->sem);
......
...@@ -263,7 +263,6 @@ extern void class_device_destroy(struct class *cls, dev_t devt); ...@@ -263,7 +263,6 @@ extern void class_device_destroy(struct class *cls, dev_t devt);
struct device { struct device {
struct list_head node; /* node in sibling list */ 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 driver_list;
struct list_head children; struct list_head children;
struct klist_node knode_driver; struct klist_node knode_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment