diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-06-01 12:56:00 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-08 01:28:14 -0400 |
commit | 19efb72fdc3c3bbfb929d91e34312b0494f14409 (patch) | |
tree | dd8d8514c08edefd1002dca36a91334d5c661da1 /init | |
parent | ae82fdb1406ad41d68f07027fe31f2d35ba22a90 (diff) |
init: Drop initcall level output
9fb48c744ba6a ("params: add 3rd arg to option handler callback
signature") added similar lines to dmesg:
initlevel:0=early, 4 registered initcalls
initlevel:1=core, 31 registered initcalls
initlevel:2=postcore, 11 registered initcalls
initlevel:3=arch, 7 registered initcalls
initlevel:4=subsys, 40 registered initcalls
initlevel:5=fs, 30 registered initcalls
initlevel:6=device, 250 registered initcalls
initlevel:7=late, 35 registered initcalls
but they don't contain any info for the general user staring at dmesg.
I'm very doubtful the count of initcalls registered per level helps
anyone so drop that output completely.
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jason Baron <jbaron@redhat.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/init/main.c b/init/main.c index 37e12098eac1..b5cc0a7c4708 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -755,13 +755,8 @@ static void __init do_initcalls(void) | |||
755 | { | 755 | { |
756 | int level; | 756 | int level; |
757 | 757 | ||
758 | for (level = 0; level < ARRAY_SIZE(initcall_levels) - 1; level++) { | 758 | for (level = 0; level < ARRAY_SIZE(initcall_levels) - 1; level++) |
759 | pr_info("initlevel:%d=%s, %d registered initcalls\n", | ||
760 | level, initcall_level_names[level], | ||
761 | (int) (initcall_levels[level+1] | ||
762 | - initcall_levels[level])); | ||
763 | do_initcall_level(level); | 759 | do_initcall_level(level); |
764 | } | ||
765 | } | 760 | } |
766 | 761 | ||
767 | /* | 762 | /* |