Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: IP22: Remove an unused function

Nobody is using the ARCS-specific prom_getcmdline(), so let's remove it.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Dmitri Vorobiev and committed by
Ralf Baechle
cb6edd45 1b93b3c3

+1 -7
-5
arch/mips/fw/arc/cmdline.c
··· 16 16 17 17 #undef DEBUG_CMDLINE 18 18 19 - char * __init prom_getcmdline(void) 20 - { 21 - return arcs_cmdline; 22 - } 23 - 24 19 static char *ignored[] = { 25 20 "ConsoleIn=", 26 21 "ConsoleOut=",
+1 -2
arch/mips/include/asm/sgialib.h
··· 85 85 extern PCHAR ArcGetEnvironmentVariable(PCHAR name); 86 86 extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value); 87 87 88 - /* ARCS command line acquisition and parsing. */ 89 - extern char *prom_getcmdline(void); 88 + /* ARCS command line parsing. */ 90 89 extern void prom_init_cmdline(void); 91 90 92 91 /* Acquiring info about the current time, etc. */