Received: from milmhbs1.lsil.com (147.145.21.209) by coscas01.lsi.com
 (172.21.36.60) with Microsoft SMTP Server id 8.1.393.1; Tue, 13 Oct 2009
 13:37:48 -0600
Received: from mail2.lsil.com (mail2.lsil.com [147.145.40.22])	by
 milmhbs1.lsil.com (8.12.11/8.12.11) with ESMTP id n9DJbjTH017243	for
 <andy.sharp@lsi.com>; Tue, 13 Oct 2009 12:37:48 -0700
Received: from psmtp.com (na3sys009amx187.postini.com [74.125.149.168])	by
 mail2.lsil.com (8.12.11/8.12.11) with SMTP id n9DJY5Ha000667	for
 <andy.sharp@lsi.com>; Tue, 13 Oct 2009 12:34:06 -0700 (PDT)
Received: from source ([78.24.191.182]) by na3sys009amx187.postini.com
 ([74.125.148.14]) with SMTP;	Tue, 13 Oct 2009 12:37:44 PDT
Received: from localhost.localdomain ([127.0.0.1]:45915 "EHLO
	eddie.linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org	with
 ESMTP id S1493371AbZJMThc (ORCPT <rfc822;andy.sharp@lsi.com>);	Tue, 13 Oct
 2009 21:37:32 +0200
Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 13 Oct 2009 21:37:14
 +0200 (CEST)
Received: from gw02.mail.saunalahti.fi ([195.197.172.116]:44908 "EHLO
	gw02.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK)	by ftp.linux-mips.org with
 ESMTP id S1492520AbZJMThI (ORCPT	<rfc822;linux-mips@linux-mips.org>); Tue, 13
 Oct 2009 21:37:08 +0200
Received: from localhost.localdomain (a88-114-232-190.elisa-laajakaista.fi
 [88.114.232.190])	by gw02.mail.saunalahti.fi (Postfix) with ESMTP id
 3FC70139BBF;	Tue, 13 Oct 2009 22:37:03 +0300 (EEST)
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	"ralf@linux-mips.org" <ralf@linux-mips.org>
CC: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Tue, 13 Oct 2009 13:37:01 -0600
Subject: [PATCH] [MIPS] ip22: remove an unused function
Thread-Topic: [PATCH] [MIPS] ip22: remove an unused function
Thread-Index: AcpMPKWXcTJs207jQlKiK3pnbCAiCA==
Message-ID: <1255462621-20290-1-git-send-email-dmitri.vorobiev@movial.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: coscas01.lsi.com
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-scanned-by: MIMEDefang 2.39
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:92.28373/99.90000 CV:99.9000 FC:93.6803 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c 
x-pstn-addresses: from <dmitri.vorobiev@movial.com> [db-null] 
x-pstn-neptune: 0/0/0.00/0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

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 @@
=20
 #undef DEBUG_CMDLINE
=20
-char * __init prom_getcmdline(void)
-{
-	return arcs_cmdline;
-}
-
 static char *ignored[] =3D {
 	"ConsoleIn=3D",
 	"ConsoleOut=3D",
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgiali=
b.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);
=20
-/* ARCS command line acquisition and parsing. */
-extern char *prom_getcmdline(void);
+/* ARCS command line parsing. */
 extern void prom_init_cmdline(void);
=20
 /* Acquiring info about the current time, etc. */
--=20
1.6.0.4


