linux-mips
[Top] [All Lists]

[PATCH] [MIPS] ip22: remove an unused function

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] [MIPS] ip22: remove an unused function
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Date: Tue, 13 Oct 2009 22:37:01 +0300
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Nobody is using the ARCS-specific prom_getcmdline(), so let's remove it.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 arch/mips/fw/arc/cmdline.c      |    5 -----
 arch/mips/include/asm/sgialib.h |    3 +--
 2 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/arch/mips/fw/arc/cmdline.c b/arch/mips/fw/arc/cmdline.c
index 4ca4eef..5c8603c 100644
--- a/arch/mips/fw/arc/cmdline.c
+++ b/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=",
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h
index bfce5c7..63741ca 100644
--- a/arch/mips/include/asm/sgialib.h
+++ b/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. */
-- 
1.6.0.4


<Prev in Thread] Current Thread [Next in Thread>