mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
kexec: remove unnecessary return
Code can not run here forever, so remove the unnecessary return. Signed-off-by: Xishi Qiu <[email protected]> Suggested-by: Zhang Yanfei <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Zhang Yanfei <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6b3c538f5b
commit
80c74f6a40
1 changed files with 1 additions and 4 deletions
|
|
@ -1474,11 +1474,8 @@ static int __init __parse_crashkernel(char *cmdline,
|
|||
if (first_colon && (!first_space || first_colon < first_space))
|
||||
return parse_crashkernel_mem(ck_cmdline, system_ram,
|
||||
crash_size, crash_base);
|
||||
else
|
||||
return parse_crashkernel_simple(ck_cmdline, crash_size,
|
||||
crash_base);
|
||||
|
||||
return 0;
|
||||
return parse_crashkernel_simple(ck_cmdline, crash_size, crash_base);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue