summaryrefslogtreecommitdiffstats
path: root/drivers/base/init.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-12-05 19:24:40 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 05:40:41 +0100
commitdb1118a460c7bfd20278955cbf56c0b283a9701f (patch)
tree80b3f5f86b73bd30b32d3df711dd2345bbadcdfa /drivers/base/init.c
parentkobject: add sample code for how to use ksets/ktypes/kobjects (diff)
downloadlinux-db1118a460c7bfd20278955cbf56c0b283a9701f.tar.xz
linux-db1118a460c7bfd20278955cbf56c0b283a9701f.zip
Driver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init
LIST_HEAD has been widely used, so switch to this simpler method. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/init.c')
-rw-r--r--drivers/base/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/init.c b/drivers/base/init.c
index 37138154f9e8..1da88a10cfec 100644
--- a/drivers/base/init.c
+++ b/drivers/base/init.c
@@ -36,5 +36,4 @@ void __init driver_init(void)
system_bus_init();
cpu_dev_init();
memory_dev_init();
- attribute_container_init();
}