Skip to content

Commit

Permalink
kexec: remove the unused function parameter
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Vivek Goyal <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Baoquan He authored and torvalds committed Oct 14, 2014
1 parent a2d6aa8 commit 36f3f50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,6 @@ static __initdata char *suffix_tbl[] = {
*/
static int __init parse_crashkernel_suffix(char *cmdline,
unsigned long long *crash_size,
unsigned long long *crash_base,
const char *suffix)
{
char *cur = cmdline;
Expand Down Expand Up @@ -1848,7 +1847,7 @@ static int __init __parse_crashkernel(char *cmdline,

if (suffix)
return parse_crashkernel_suffix(ck_cmdline, crash_size,
crash_base, suffix);
suffix);
/*
* if the commandline contains a ':', then that's the extended
* syntax -- if not, it must be the classic syntax
Expand Down

0 comments on commit 36f3f50

Please sign in to comment.