aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2014-10-13 18:53:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 20:18:21 -0400
commit36f3f500efe6a19b7ce1e1205c105a2cbb2124d9 (patch)
tree36d9416ed4b38e87289e65061cd913b1b1767303
parenta2d6aa8fa0750fe1d2fc9673d4a46b2fd87e44b3 (diff)
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: Baoquan He <bhe@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/kexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 63bc3cdfb629..2abf9f6e9a61 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1759,7 +1759,6 @@ static __initdata char *suffix_tbl[] = {
1759 */ 1759 */
1760static int __init parse_crashkernel_suffix(char *cmdline, 1760static int __init parse_crashkernel_suffix(char *cmdline,
1761 unsigned long long *crash_size, 1761 unsigned long long *crash_size,
1762 unsigned long long *crash_base,
1763 const char *suffix) 1762 const char *suffix)
1764{ 1763{
1765 char *cur = cmdline; 1764 char *cur = cmdline;
@@ -1848,7 +1847,7 @@ static int __init __parse_crashkernel(char *cmdline,
1848 1847
1849 if (suffix) 1848 if (suffix)
1850 return parse_crashkernel_suffix(ck_cmdline, crash_size, 1849 return parse_crashkernel_suffix(ck_cmdline, crash_size,
1851 crash_base, suffix); 1850 suffix);
1852 /* 1851 /*
1853 * if the commandline contains a ':', then that's the extended 1852 * if the commandline contains a ':', then that's the extended
1854 * syntax -- if not, it must be the classic syntax 1853 * syntax -- if not, it must be the classic syntax