Subject: + kexec-remove-unnecessary-return.patch added to -mm tree To: qiuxishi@xxxxxxxxxx,horms@xxxxxxxxxxxx,zhangyanfei@xxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 07 Aug 2013 14:14:34 -0700 The patch titled Subject: kexec: remove unnecessary return has been added to the -mm tree. Its filename is kexec-remove-unnecessary-return.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kexec-remove-unnecessary-return.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kexec-remove-unnecessary-return.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Xishi Qiu <qiuxishi@xxxxxxxxxx> Subject: kexec: remove unnecessary return Code can not run here forever, so remove the unnecessary return. Signed-off-by: Xishi Qiu <qiuxishi@xxxxxxxxxx> Suggested-by: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxxxx> Reviewed-by: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN kernel/kexec.c~kexec-remove-unnecessary-return kernel/kexec.c --- a/kernel/kexec.c~kexec-remove-unnecessary-return +++ a/kernel/kexec.c @@ -1474,11 +1474,8 @@ static int __init __parse_crashkernel(ch 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); } /* _ Patches currently in -mm which might be from qiuxishi@xxxxxxxxxx are kexec-remove-unnecessary-return.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html