mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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:
parent
bebf56a1b1
commit
5125991c9a
2 changed files with 0 additions and 21 deletions
|
|
@ -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") ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue