linux-mips
[Top] [All Lists]

[PATCH] MIPS: msp71xx: remove unused prom_getcmdline()

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: msp71xx: remove unused prom_getcmdline()
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Tue, 26 Jan 2010 18:02:58 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=U4r71kIRU/OcvCWz+5lUrg7FavOA/RYvyq5RKeZmX+g=; b=hmxiAX0em8NhrSUHwqXnFeYrvzVf29VEkbu35Iu/xpbTJFj+ZmbOyHTlTFtyb9S/sX pYcgZcAOrfG9z7ecaEq9nT7fzHCAtU/T4czBlJVsxaZrUYr3E/z8Sd5cN5TRTw2pxnGI K9Mtlw61ZZt3NA7WYGLISU2uGkJt+aUBYn/I8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=EXrIFstRAiHqL2QKbTSnDQOY8RIGVqZG5BNTQTJLx9JxhelGqlLzdB9HXJP9idukMg Knfnmh2+Ro43MB4N9HOZR9pt7Z7Yt2rJ/sbXzCdEMQk9BAjzeQyd26aQmI8pwI4OYXu8 kVFzOMXw3crneYB6BHBAqsvzOjRW/A2XNkmnY=
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 .../mips/include/asm/pmc-sierra/msp71xx/msp_prom.h |    1 -
 arch/mips/pmc-sierra/msp71xx/msp_prom.c            |    6 ------
 2 files changed, 0 insertions(+), 7 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..db98d87 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_prom.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_prom.c
@@ -303,12 +303,6 @@ char *prom_getenv(char *env_name)
 }
 
 /* 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.6.1


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