summaryrefslogtreecommitdiffstats
path: root/arch/mips/fw
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-10-22 18:13:13 +0200
committerPaul Burton <paulburton@kernel.org>2019-10-24 06:10:32 +0200
commitcbd09241dd9db02caceb958b9ceb9e91762a0572 (patch)
tree2b2b3393656a5200010178ae895908ec9f2e2d45 /arch/mips/fw
parentMIPS: SGI-IP27: move registering of smp ops into IP27 specific code (diff)
downloadlinux-cbd09241dd9db02caceb958b9ceb9e91762a0572.tar.xz
linux-cbd09241dd9db02caceb958b9ceb9e91762a0572.zip
MIPS: arc: remove unused stuff
remove unused _prom_envp and prom_argc macro. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/fw')
-rw-r--r--arch/mips/fw/arc/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/fw/arc/init.c b/arch/mips/fw/arc/init.c
index 4ac6466a8872..c713292462aa 100644
--- a/arch/mips/fw/arc/init.c
+++ b/arch/mips/fw/arc/init.c
@@ -19,7 +19,7 @@
/* Master romvec interface. */
struct linux_romvec *romvec;
int prom_argc;
-LONG *_prom_argv, *_prom_envp;
+LONG *_prom_argv;
#if defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32)
/* stack for calling 32bit ARC prom */
@@ -34,7 +34,6 @@ void __init prom_init(void)
prom_argc = fw_arg0;
_prom_argv = (LONG *) fw_arg1;
- _prom_envp = (LONG *) fw_arg2;
if (pb->magic != 0x53435241) {
printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n",