Commit bd6e3898 authored by Zhi Li's avatar Zhi Li Committed by Thomas Bogendoerfer

MIPS: Remove useless parameter of bootcmdline_init()

The parameter "cmdline_p" is useless in bootcmdline_init(),remove it.
Signed-off-by: default avatarZhi Li <lizhi01@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 860f02f1
......@@ -575,7 +575,7 @@ static int __init bootcmdline_scan_chosen(unsigned long node, const char *uname,
#endif /* CONFIG_OF_EARLY_FLATTREE */
static void __init bootcmdline_init(char **cmdline_p)
static void __init bootcmdline_init(void)
{
bool dt_bootargs = false;
......@@ -658,7 +658,7 @@ static void __init arch_mem_init(char **cmdline_p)
plat_mem_setup();
memblock_set_bottom_up(true);
bootcmdline_init(cmdline_p);
bootcmdline_init();
strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
*cmdline_p = command_line;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment