aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-02-13 17:40:21 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-14 00:21:42 -0500
commit5125991c9a9360fbdb717e22783c970bbd140660 (patch)
treee6709a73481011458fda0c0d4581c046c8d7d511 /init/main.c
parentbebf56a1b176c2e1c9efe44e7e6915532cc682cf (diff)
init: remove CONFIG_INIT_FALLBACK
CONFIG_INIT_FALLBACK adds config bloat without an obvious use case that makes it worth keeping around. Delete it. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Chuck Ebbert <cebbert.lkml@gmail.com> Cc: Frank Rowand <frowand.list@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Rob Landley <rob@landley.net> Cc: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c
index 179ada15d08a..6f0f1c5ff8cc 100644
--- a/init/main.c
+++ b/init/main.c
@@ -953,13 +953,8 @@ static int __ref kernel_init(void *unused)
953 ret = run_init_process(execute_command); 953 ret = run_init_process(execute_command);
954 if (!ret) 954 if (!ret)
955 return 0; 955 return 0;
956#ifndef CONFIG_INIT_FALLBACK
957 panic("Requested init %s failed (error %d).", 956 panic("Requested init %s failed (error %d).",
958 execute_command, ret); 957 execute_command, ret);
959#else
960 pr_err("Failed to execute %s (error %d). Attempting defaults...\n",
961 execute_command, ret);
962#endif
963 } 958 }
964 if (!try_to_run_init_process("/sbin/init") || 959 if (!try_to_run_init_process("/sbin/init") ||
965 !try_to_run_init_process("/etc/init") || 960 !try_to_run_init_process("/etc/init") ||