Skip to content

Commit

Permalink
MIPS: PowerTV: Remove unused ptv_memsize
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/799/
Reviewed-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jan 12, 2010
1 parent 99d2b17 commit 09b7c9f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/mips/powertv/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
#define BOOT_MEM_SIZE KIBIBYTE(256) /* Memory reserved for bldr */
#define PHYS_MEM_START 0x10000000 /* Start of physical memory */

unsigned long ptv_memsize;

char __initdata cmdline[COMMAND_LINE_SIZE];

void __init prom_meminit(void)
Expand Down Expand Up @@ -87,9 +85,6 @@ void __init prom_meminit(void)
}
}

/* Store memsize for diagnostic purposes */
ptv_memsize = memsize;

physend = PFN_ALIGN(&_end) - 0x80000000;
if (memsize > LOW_MEM_MAX) {
low_mem = LOW_MEM_MAX;
Expand Down

0 comments on commit 09b7c9f

Please sign in to comment.