mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kexec: remove the unused function parameter
@ 2014-08-16  1:25 Baoquan He
  0 siblings, 0 replies; only message in thread
From: Baoquan He @ 2014-08-16  1:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: ebiederm, Baoquan He

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>
---
 kernel/kexec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/kexec.c b/kernel/kexec.c
index 0b49a0a..7c3e72a 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1750,7 +1750,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;
@@ -1839,7 +1838,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
-- 
1.8.5.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-16  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-16  1:25 [PATCH] kexec: remove the unused function parameter Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®