mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
MIPS: PowerTV: Remove unused ptv_memsize
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>
This commit is contained in:
parent
99d2b173e5
commit
09b7c9f24d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user