Skip to content

Commit

Permalink
MIPS: IP22: Remove an unused function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitri Vorobiev authored and Ralf Baechle committed Dec 17, 2009
1 parent 1b93b3c commit cb6edd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions arch/mips/fw/arc/cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#undef DEBUG_CMDLINE

char * __init prom_getcmdline(void)
{
return arcs_cmdline;
}

static char *ignored[] = {
"ConsoleIn=",
"ConsoleOut=",
Expand Down
3 changes: 1 addition & 2 deletions arch/mips/include/asm/sgialib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit cb6edd4

Please sign in to comment.