diff options
| author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-10-13 15:37:01 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-16 20:56:56 -0500 |
| commit | cb6edd45f04152d91d598c0aadadbb3ac673d07b (patch) | |
| tree | b851338fbee5d7054e4fca7fe6501c86314c84b5 /arch | |
| parent | 1b93b3c3e94be2605759735a89fc935ba5f58dcf (diff) | |
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>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/fw/arc/cmdline.c | 5 | ||||
| -rw-r--r-- | 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 4ca4eef934a5..5c8603c85f20 100644 --- a/arch/mips/fw/arc/cmdline.c +++ b/arch/mips/fw/arc/cmdline.c | |||
| @@ -16,11 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #undef DEBUG_CMDLINE | 17 | #undef DEBUG_CMDLINE |
| 18 | 18 | ||
| 19 | char * __init prom_getcmdline(void) | ||
| 20 | { | ||
| 21 | return arcs_cmdline; | ||
| 22 | } | ||
| 23 | |||
| 24 | static char *ignored[] = { | 19 | static char *ignored[] = { |
| 25 | "ConsoleIn=", | 20 | "ConsoleIn=", |
| 26 | "ConsoleOut=", | 21 | "ConsoleOut=", |
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h index bfce5c786f1c..63741ca1e422 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); | |||
| 85 | extern PCHAR ArcGetEnvironmentVariable(PCHAR name); | 85 | extern PCHAR ArcGetEnvironmentVariable(PCHAR name); |
| 86 | extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value); | 86 | extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value); |
| 87 | 87 | ||
| 88 | /* ARCS command line acquisition and parsing. */ | 88 | /* ARCS command line parsing. */ |
| 89 | extern char *prom_getcmdline(void); | ||
| 90 | extern void prom_init_cmdline(void); | 89 | extern void prom_init_cmdline(void); |
| 91 | 90 | ||
| 92 | /* Acquiring info about the current time, etc. */ | 91 | /* Acquiring info about the current time, etc. */ |
