Skip to content

Commit

Permalink
init: Drop initcall level output
Browse files Browse the repository at this point in the history
9fb48c7 ("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 <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Jason Baron <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
Borislav Petkov authored and rustyrussell committed Jun 8, 2012
1 parent ae82fdb commit 19efb72
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,8 @@ static void __init do_initcalls(void)
{
int level;

for (level = 0; level < ARRAY_SIZE(initcall_levels) - 1; level++) {
pr_info("initlevel:%d=%s, %d registered initcalls\n",
level, initcall_level_names[level],
(int) (initcall_levels[level+1]
- initcall_levels[level]));
for (level = 0; level < ARRAY_SIZE(initcall_levels) - 1; level++)
do_initcall_level(level);
}
}

/*
Expand Down

0 comments on commit 19efb72

Please sign in to comment.