Re: [PATCH 2/5] MIPS: remove unused powertv ptv_memsize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 18, 2009 at 09:30:18PM +0900, Yoichi Yuasa wrote:
> Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxx)



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux