[PATCH] kexec: remove unnecessary return

Xishi Qiu qiuxishi at huawei.com
Tue Aug 6 04:05:36 EDT 2013


Code can not run here forever, so remove the unnecessary return.

Signed-off-by: Xishi Qiu <qiuxishi at huawei.com>
---
 kernel/kexec.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/kexec.c b/kernel/kexec.c
index 59f7b55..c14e3ea 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1477,8 +1477,6 @@ static int __init __parse_crashkernel(char *cmdline,
 	else
 		return parse_crashkernel_simple(ck_cmdline, crash_size,
 				crash_base);
-
-	return 0;
 }
 
 /*
-- 
1.7.1




More information about the kexec mailing list