diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2008-05-09 09:24:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-14 19:37:58 +0200 |
commit | 0a3ad00ca09632c6d0675f606276e92bdf1b306c (patch) | |
tree | a164d56118136d8f53be9f64afa41dc42fb7ad93 /drivers/base/class.c | |
parent | block: do_mounts - accept root=<non-existant partition> (diff) | |
download | linux-0a3ad00ca09632c6d0675f606276e92bdf1b306c.tar.xz linux-0a3ad00ca09632c6d0675f606276e92bdf1b306c.zip |
Driver core: struct class remove children list
because of the class_device was removed, now do the children list removing
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 0ef00e8d4153..e085af0ff94f 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -140,7 +140,6 @@ int class_register(struct class *cls) pr_debug("device class '%s': registering\n", cls->name); - INIT_LIST_HEAD(&cls->children); INIT_LIST_HEAD(&cls->devices); INIT_LIST_HEAD(&cls->interfaces); kset_init(&cls->class_dirs); |