MIPS: PowerTV: Remove unused ptv_memsize
authorYoichi Yuasa <yuasa@linux-mips.org>
Fri, 18 Dec 2009 12:30:18 +0000 (21:30 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:32 +0000 (18:19 +0100)
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>
arch/mips/powertv/memory.c

index 28d06605fff62178ae91644a8edbbc4f86129a01..f49eb3d0358b87e7c1fb102a5600acd746ce9af0 100644 (file)
@@ -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)
@@ -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;