From 9853da3d35bfb12ed6d03ee2e92017d8efe9af8a Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 19 Jul 2003 08:20:22 +0000 Subject: [PATCH] Remove an unused variable. --- sys/arch/powerpc/ibm4xx/pmap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arch/powerpc/ibm4xx/pmap.c b/sys/arch/powerpc/ibm4xx/pmap.c index 72d67ee0da3a..647805a3afde 100644 --- a/sys/arch/powerpc/ibm4xx/pmap.c +++ b/sys/arch/powerpc/ibm4xx/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.23 2003/07/15 02:54:43 lukem Exp $ */ +/* $NetBSD: pmap.c,v 1.24 2003/07/19 08:20:22 simonb Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -67,7 +67,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.23 2003/07/15 02:54:43 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.24 2003/07/19 08:20:22 simonb Exp $"); #include #include @@ -204,13 +204,11 @@ pte_enter(struct pmap *pm, vaddr_t va, u_int pte) int seg = STIDX(va); int ptn = PTIDX(va); u_int oldpte; - paddr_t pa; if (!pm->pm_ptbl[seg]) { /* Don't allocate a page to clear a non-existent mapping. */ if (!pte) return (0); /* Allocate a page XXXX this will sleep! */ - pa = 0; pm->pm_ptbl[seg] = (uint *)uvm_km_alloc1(kernel_map, PAGE_SIZE, 1); }