Skip to contentSkip to conversation

kexec: remove the unused function parameter

PATCH New Baoquan He 1 participant 1 message Aug 16, 2014 kexec

lore
Share & tools
lore

Baoquan He

author
#0 lore raw

PATCH 1/1 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.

---
 kernel/kexec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
kernel/kexec.c +1 -2
index 0b49a0a..7c3e72a 100644
@@ -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
Signature · 1 line
1.8.5.3