linux-mips
[Top] [All Lists]

[PATCH 2/3] [MIPS] msp71xx: remove unused function

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH 2/3] [MIPS] msp71xx: remove unused function
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Date: Wed, 14 Oct 2009 22:02:18 +0300
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
In-reply-to: <1255546939-3302-1-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255546939-3302-1-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
Nobody calls the board-specific prom_getcmdline(), so let's remove it.

Build-tested using msp71xx_defconfig.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 .../mips/include/asm/pmc-sierra/msp71xx/msp_prom.h |    1 -
 arch/mips/pmc-sierra/msp71xx/msp_prom.c            |    7 -------
 2 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/msp_prom.h 
b/arch/mips/include/asm/pmc-sierra/msp71xx/msp_prom.h
index 14ca7dc..54ef1a9 100644
--- a/arch/mips/include/asm/pmc-sierra/msp71xx/msp_prom.h
+++ b/arch/mips/include/asm/pmc-sierra/msp71xx/msp_prom.h
@@ -118,7 +118,6 @@
 #define ZSP_DUET               'D'     /* one DUET zsp engine */
 #define ZSP_TRIAD              'T'     /* two TRIAD zsp engines */
 
-extern char *prom_getcmdline(void);
 extern char *prom_getenv(char *name);
 extern void prom_init_cmdline(void);
 extern void prom_meminit(void);
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_prom.c 
b/arch/mips/pmc-sierra/msp71xx/msp_prom.c
index c317a36..614a20f 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_prom.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_prom.c
@@ -302,13 +302,6 @@ char *prom_getenv(char *env_name)
        return NULL;
 }
 
-/* PROM commandline functions */
-char *prom_getcmdline(void)
-{
-       return &(arcs_cmdline[0]);
-}
-EXPORT_SYMBOL(prom_getcmdline);
-
 void  __init prom_init_cmdline(void)
 {
        char *cp;
-- 
1.6.0.4


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