projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d2b17
)
MIPS: PowerTV: Remove unused ptv_memsize
author
Yoichi Yuasa
<
[email protected]
>
Fri, 18 Dec 2009 12:30:18 +0000
(21:30 +0900)
committer
Ralf Baechle
<
[email protected]
>
Tue, 12 Jan 2010 17:19:32 +0000
(18:19 +0100)
Signed-off-by: Yoichi Yuasa <
[email protected]
>
Patchwork: http://patchwork.linux-mips.org/patch/799/
Reviewed-by: David VomLehn <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/powertv/memory.c
patch
|
blob
|
history
diff --git
a/arch/mips/powertv/memory.c
b/arch/mips/powertv/memory.c
index 28d06605fff62178ae91644a8edbbc4f86129a01..f49eb3d0358b87e7c1fb102a5600acd746ce9af0 100644
(file)
--- a/
arch/mips/powertv/memory.c
+++ b/
arch/mips/powertv/memory.c
@@
-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;