Commit 09b7c9f2 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle

MIPS: PowerTV: Remove unused ptv_memsize

Signed-off-by: default avatarYoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/799/Reviewed-by: default avatarDavid VomLehn <dvomlehn@cisco.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 99d2b173
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#define BOOT_MEM_SIZE KIBIBYTE(256) /* Memory reserved for bldr */ #define BOOT_MEM_SIZE KIBIBYTE(256) /* Memory reserved for bldr */
#define PHYS_MEM_START 0x10000000 /* Start of physical memory */ #define PHYS_MEM_START 0x10000000 /* Start of physical memory */
unsigned long ptv_memsize;
char __initdata cmdline[COMMAND_LINE_SIZE]; char __initdata cmdline[COMMAND_LINE_SIZE];
void __init prom_meminit(void) void __init prom_meminit(void)
...@@ -87,9 +85,6 @@ void __init prom_meminit(void) ...@@ -87,9 +85,6 @@ void __init prom_meminit(void)
} }
} }
/* Store memsize for diagnostic purposes */
ptv_memsize = memsize;
physend = PFN_ALIGN(&_end) - 0x80000000; physend = PFN_ALIGN(&_end) - 0x80000000;
if (memsize > LOW_MEM_MAX) { if (memsize > LOW_MEM_MAX) {
low_mem = LOW_MEM_MAX; low_mem = LOW_MEM_MAX;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment