MIPS: IP22: Remove an unused function
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>
Tue, 13 Oct 2009 19:37:01 +0000 (22:37 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:56:56 +0000 (01:56 +0000)
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>
arch/mips/fw/arc/cmdline.c
arch/mips/include/asm/sgialib.h

index 4ca4eef934a539aa579458c37c95e4826356ab44..5c8603c85f20720ae8f3dab122aad5956119f145 100644 (file)
 
 #undef DEBUG_CMDLINE
 
-char * __init prom_getcmdline(void)
-{
-       return arcs_cmdline;
-}
-
 static char *ignored[] = {
        "ConsoleIn=",
        "ConsoleOut=",
index bfce5c786f1c2772c0a5515c3e10b62b7e6d6185..63741ca1e422ebfd3970adb70fa692c52c1f35dc 100644 (file)
@@ -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. */