* [PATCH] [MIPS] ip22: remove an unused function
@ 2009-10-13 19:37 Dmitri Vorobiev
2009-10-13 20:47 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Dmitri Vorobiev @ 2009-10-13 19:37 UTC (permalink / raw)
To: linux-mips, ralf; +Cc: Dmitri Vorobiev
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [MIPS] ip22: remove an unused function
2009-10-13 19:37 [PATCH] [MIPS] ip22: remove an unused function Dmitri Vorobiev
@ 2009-10-13 20:47 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-10-13 20:47 UTC (permalink / raw)
To: Dmitri Vorobiev; +Cc: linux-mips
On Tue, Oct 13, 2009 at 10:37:01PM +0300, Dmitri Vorobiev wrote:
> Nobody is using the ARCS-specific prom_getcmdline(), so let's remove it.
Thanks, queued for 2.6.32.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-13 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 19:37 [PATCH] [MIPS] ip22: remove an unused function Dmitri Vorobiev
2009-10-13 20:47 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).