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 <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Chuck Ebbert <[email protected]>
Cc: Frank Rowand <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Rob Landley <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andy Lutomirski 2015-02-13 14:40:21 -08:00 • committed by Linus Torvalds
commit 5125991c9a
2 changed files with 0 additions and 21 deletions

View file

@ -953,13 +953,8 @@ static int __ref kernel_init(void *unused)
ret = run_init_process(execute_command);
if (!ret)
return 0;
#ifndef CONFIG_INIT_FALLBACK
panic("Requested init %s failed (error %d).",
execute_command, ret);
#else
pr_err("Failed to execute %s (error %d). Attempting defaults...\n",
execute_command, ret);
#endif
}
if (!try_to_run_init_process("/sbin/init") ||
!try_to_run_init_process("/etc/init") ||