summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-10 20:22:33 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-10 20:22:33 +0000
commit97bd6f468cc2c471ff224ef2cdc83cdd6299bbb1 (patch)
tree94cc3962a3ac4b75518419a0716a897e6af39cd8 /arch
parenta405f3ed3e25d3b229b4fafb26d1d75c5ef57f01 (diff)
Kill dead variable.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/arc/memory.c3
-rw-r--r--arch/mips64/arc/memory.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/arc/memory.c b/arch/mips/arc/memory.c
index e5cbb907f..3f41f74ce 100644
--- a/arch/mips/arc/memory.c
+++ b/arch/mips/arc/memory.c
@@ -131,10 +131,9 @@ void __init prom_meminit(void)
void __init
prom_free_prom_memory (void)
{
- int i;
- struct prom_pmemblock *p;
unsigned long freed = 0;
unsigned long addr;
+ int i;
for (i = 0; i < boot_mem_map.nr_map; i++) {
if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA)
diff --git a/arch/mips64/arc/memory.c b/arch/mips64/arc/memory.c
index d2ef95869..5140c46f7 100644
--- a/arch/mips64/arc/memory.c
+++ b/arch/mips64/arc/memory.c
@@ -1,5 +1,4 @@
-/* $Id: memory.c,v 1.5 2000/01/27 23:21:57 ralf Exp $
- *
+/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
@@ -222,7 +221,6 @@ void __init prom_meminit(void)
void __init
prom_free_prom_memory (void)
{
- struct prom_pmemblock *p;
unsigned long freed = 0;
unsigned long addr, end;