[PATCH] Remove struct device::bus_list.
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Thu, 24 Mar 2005 21:03:35 +0000 (13:03 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:18 +0000 (15:15 -0700)
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h

index 0eb1d424bd1d14b77345e726bd656a685a373ec4..f258a21ed78a813da3884664b1ab4c06ead356ec 100644 (file)
@@ -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->bus_list);
        INIT_LIST_HEAD(&dev->driver_list);
        INIT_LIST_HEAD(&dev->dma_pools);
        init_MUTEX(&dev->sem);
index f1c38d869ac91d81b699cefcfa90449358de62a5..13f65853e583c8d2550fde34d83447b9ce55a7fd 100644 (file)
@@ -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 bus_list;      /* node in bus's list */
        struct list_head driver_list;
        struct list_head children;
        struct klist_node       knode_driver;