From: Xishi Qiu <qiuxishi@huawei.com>
To: ebiederm@xmission.com
Cc: Xishi Qiu <qiuxishi@huawei.com>,
kexec@lists.infradead.org, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] kexec: remove unnecessary return
Date: Tue, 6 Aug 2013 16:05:36 +0800 [thread overview]
Message-ID: <5200AE50.2010108@huawei.com> (raw)
Code can not run here forever, so remove the unnecessary return.
Signed-off-by: Xishi Qiu <qiuxishi@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
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Xishi Qiu <qiuxishi@huawei.com>
To: <ebiederm@xmission.com>
Cc: <kexec@lists.infradead.org>, LKML <linux-kernel@vger.kernel.org>,
Xishi Qiu <qiuxishi@huawei.com>
Subject: [PATCH] kexec: remove unnecessary return
Date: Tue, 6 Aug 2013 16:05:36 +0800 [thread overview]
Message-ID: <5200AE50.2010108@huawei.com> (raw)
Code can not run here forever, so remove the unnecessary return.
Signed-off-by: Xishi Qiu <qiuxishi@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
next reply other threads:[~2013-08-06 8:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 8:05 Xishi Qiu [this message]
2013-08-06 8:05 ` [PATCH] kexec: remove unnecessary return Xishi Qiu
2013-08-06 8:19 ` Zhang Yanfei
2013-08-06 8:19 ` Zhang Yanfei
-- strict thread matches above, loose matches on Subject: below --
2013-08-07 8:45 Simon Horman
2013-08-07 8:45 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5200AE50.2010108@huawei.com \
--to=qiuxishi@huawei.com \
--cc=ebiederm@xmission.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.