Commit 36f3f500efe6a19b7ce1e1205c105a2cbb2124d9
Committed by
Linus Torvalds
1 parent
a2d6aa8fa0
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
kernel/kexec.c
... | ... | @@ -1759,7 +1759,6 @@ |
1759 | 1759 | */ |
1760 | 1760 | static int __init parse_crashkernel_suffix(char *cmdline, |
1761 | 1761 | unsigned long long *crash_size, |
1762 | - unsigned long long *crash_base, | |
1763 | 1762 | const char *suffix) |
1764 | 1763 | { |
1765 | 1764 | char *cur = cmdline; |
... | ... | @@ -1848,7 +1847,7 @@ |
1848 | 1847 | |
1849 | 1848 | if (suffix) |
1850 | 1849 | return parse_crashkernel_suffix(ck_cmdline, crash_size, |
1851 | - crash_base, suffix); | |
1850 | + suffix); | |
1852 | 1851 | /* |
1853 | 1852 | * if the commandline contains a ':', then that's the extended |
1854 | 1853 | * syntax -- if not, it must be the classic syntax |