| To: | Yoichi Yuasa <yuasa@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH 2/5] MIPS: remove unused powertv ptv_memsize |
| From: | David VomLehn <dvomlehn@cisco.com> |
| Date: | Mon, 21 Dec 2009 17:34:21 -0800 |
| Authentication-results: | sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <20091218213018.79a9fc11.yuasa@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20091218212917.f42e8180.yuasa@linux-mips.org> <20091218213018.79a9fc11.yuasa@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Fri, Dec 18, 2009 at 09:30:18PM +0900, Yoichi Yuasa wrote:
> Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
> ---
> arch/mips/powertv/memory.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/arch/mips/powertv/memory.c b/arch/mips/powertv/memory.c
> index 28d0660..f49eb3d 100644
> --- 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;
> --
> 1.6.5.7
>
>
Looks good, thanks!
Reviewed-by: David VomLehn (dvomlehn@cisco.com)
|
| Previous by Date: | Re: [PATCH 1/5]MIPS: remove unused powertv prom_getcmdline(), David VomLehn |
|---|---|
| Next by Date: | Re: [PATCH 3/5] MIPS: remove powertv mips_machine_halt(), David VomLehn |
| Previous by Thread: | Re: [PATCH 3/5] MIPS: remove powertv mips_machine_halt(), Ralf Baechle |
| Next by Thread: | Re: [PATCH 2/5] MIPS: remove unused powertv ptv_memsize, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |