Module Name:    src
Committed By:   ozaki-r
Date:           Tue Mar 11 04:17:36 UTC 2014

Modified Files:
        src/sys/arch/hpcarm/hpcarm: pxa2x0_hpc_machdep.c

Log Message:
Remove unused variable found by gcc 4.8


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c:1.20 src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c:1.21
--- src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c:1.20	Mon Aug 26 15:31:06 2013
+++ src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c	Tue Mar 11 04:17:36 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: pxa2x0_hpc_machdep.c,v 1.20 2013/08/26 15:31:06 matt Exp $	*/
+/*	$NetBSD: pxa2x0_hpc_machdep.c,v 1.21 2014/03/11 04:17:36 ozaki-r Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_machdep.c,v 1.20 2013/08/26 15:31:06 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_machdep.c,v 1.21 2014/03/11 04:17:36 ozaki-r Exp $");
 
 #include "opt_ddb.h"
 #include "opt_dram_pages.h"
@@ -252,7 +252,6 @@ init_pxa2x0(int argc, char **argv, struc
 	u_int kerneldatasize, symbolsize;
 	u_int l1pagetable;
 	vaddr_t freemempos;
-	vsize_t pt_size;
 	int loop;
 #if NKSYMS || defined(DDB) || defined(MODULAR)
 	Elf_Shdr *sh;
@@ -392,8 +391,6 @@ init_pxa2x0(int argc, char **argv, struc
 	 */
 	valloc_pages(systempage, 1);
 
-	pt_size = round_page(freemempos) - physical_start;
-
 	/* Allocate stacks for all modes */
 	valloc_pages(irqstack, IRQ_STACK_SIZE);
 	valloc_pages(abtstack, ABT_STACK_SIZE);

Reply via email to