diff options
-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; |