提交 36f3f500 编写于 作者: B Baoquan He 提交者: Linus Torvalds

kexec: remove the unused function parameter

This is a cleanup.  In function parse_crashkernel_suffix, the parameter
crash_base is not used.  So here remove it.
Signed-off-by: NBaoquan He <bhe@redhat.com>
Acked-by: NVivek Goyal <vgoyal@redhat.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a2d6aa8f
...@@ -1759,7 +1759,6 @@ static __initdata char *suffix_tbl[] = { ...@@ -1759,7 +1759,6 @@ static __initdata char *suffix_tbl[] = {
*/ */
static int __init parse_crashkernel_suffix(char *cmdline, static int __init parse_crashkernel_suffix(char *cmdline,
unsigned long long *crash_size, unsigned long long *crash_size,
unsigned long long *crash_base,
const char *suffix) const char *suffix)
{ {
char *cur = cmdline; char *cur = cmdline;
...@@ -1848,7 +1847,7 @@ static int __init __parse_crashkernel(char *cmdline, ...@@ -1848,7 +1847,7 @@ static int __init __parse_crashkernel(char *cmdline,
if (suffix) if (suffix)
return parse_crashkernel_suffix(ck_cmdline, crash_size, return parse_crashkernel_suffix(ck_cmdline, crash_size,
crash_base, suffix); suffix);
/* /*
* if the commandline contains a ':', then that's the extended * if the commandline contains a ':', then that's the extended
* syntax -- if not, it must be the classic syntax * syntax -- if not, it must be the classic syntax
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册