summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormochel@digitalimplant.org <mochel@digitalimplant.org>2005-03-24 13:08:05 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 15:15:18 -0700
commit63c4f204ffc8219696bda88eb20c9873d007a2fc (patch)
tree4a787908743ae0360b4e4356326c8912e6954a40
parent7dc35cdf69149a7f2b5216ada9bafe359746ac1c (diff)
downloadlinux-63c4f204ffc8219696bda88eb20c9873d007a2fc.tar.bz2
[PATCH] Remove struct device::driver_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 f258a21ed78a..bfa4268289ea 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -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);
}
diff --git a/include/linux/device.h b/include/linux/device.h
index 13f65853e583..d2434934d091 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);
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;