提交 63c4f204 编写于 作者: M mochel@digitalimplant.org 提交者: Greg Kroah-Hartman

[PATCH] Remove struct device::driver_list.

Signed-off-by: NPatrick Mochel <mochel@digitalimplant.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 7dc35cdf
......@@ -209,7 +209,6 @@ void device_initialize(struct device *dev)
kobject_init(&dev->kobj);
INIT_LIST_HEAD(&dev->node);
INIT_LIST_HEAD(&dev->children);
INIT_LIST_HEAD(&dev->driver_list);
INIT_LIST_HEAD(&dev->dma_pools);
init_MUTEX(&dev->sem);
}
......
......@@ -263,7 +263,6 @@ extern void class_device_destroy(struct class *cls, dev_t devt);
struct device {
struct list_head node; /* node in sibling list */
struct list_head driver_list;
struct list_head children;
struct klist_node knode_driver;
struct klist_node knode_bus;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册