From 6c0a28f612544208c91a881ec8aeaaa7c9ecda0d Mon Sep 17 00:00:00 2001 From: ozaki-r Date: Tue, 11 Mar 2014 04:17:36 +0000 Subject: [PATCH] Remove unused variable found by gcc 4.8 --- sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c b/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c index 25945e06f9a4..b14a2d77b4bf 100644 --- a/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c +++ b/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c @@ -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 -__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, struct bootinfo *bi) 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, struct bootinfo *bi) */ 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);