Selaa lähdekoodia

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>
Dmitri Vorobiev 15 vuotta sitten
vanhempi
commit
cb6edd45f0
2 muutettua tiedostoa jossa 1 lisäystä ja 7 poistoa
  1. 0 5
      arch/mips/fw/arc/cmdline.c
  2. 1 2
      arch/mips/include/asm/sgialib.h

+ 0 - 5
arch/mips/fw/arc/cmdline.c

@@ -16,11 +16,6 @@
 
 #undef DEBUG_CMDLINE
 
-char * __init prom_getcmdline(void)
-{
-	return arcs_cmdline;
-}
-
 static char *ignored[] = {
 	"ConsoleIn=",
 	"ConsoleOut=",

+ 1 - 2
arch/mips/include/asm/sgialib.h

@@ -85,8 +85,7 @@ extern void prom_identify_arch(void);
 extern PCHAR ArcGetEnvironmentVariable(PCHAR name);
 extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value);
 
-/* ARCS command line acquisition and parsing. */
-extern char *prom_getcmdline(void);
+/* ARCS command line parsing. */
 extern void prom_init_cmdline(void);
 
 /* Acquiring info about the current time, etc. */