aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/init/main.c b/init/main.c
index bea1287aecdc..ceed17aaedfd 100644
--- a/init/main.c
+++ b/init/main.c
@@ -686,11 +686,8 @@ int __init_or_module do_one_initcall(initcall_t fn)
686 686
687 msgbuf[0] = 0; 687 msgbuf[0] = 0;
688 688
689 if (ret && ret != -ENODEV && initcall_debug)
690 sprintf(msgbuf, "error code %d ", ret);
691
692 if (preempt_count() != count) { 689 if (preempt_count() != count) {
693 strlcat(msgbuf, "preemption imbalance ", sizeof(msgbuf)); 690 sprintf(msgbuf, "preemption imbalance ");
694 preempt_count() = count; 691 preempt_count() = count;
695 } 692 }
696 if (irqs_disabled()) { 693 if (irqs_disabled()) {