Module Name: src
Committed By: uebayasi
Date: Thu Dec 31 16:00:53 UTC 2009
Modified Files:
src/sys/arch/arm/arm32: pmap.c
Log Message:
pmap_page_remove(): remove an unused local variable; no functional changes.
To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/arch/arm/arm32/pmap.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/arm/arm32/pmap.c
diff -u src/sys/arch/arm/arm32/pmap.c:1.207 src/sys/arch/arm/arm32/pmap.c:1.208
--- src/sys/arch/arm/arm32/pmap.c:1.207 Thu Dec 31 02:36:14 2009
+++ src/sys/arch/arm/arm32/pmap.c Thu Dec 31 16:00:53 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.207 2009/12/31 02:36:14 uebayasi Exp $ */
+/* $NetBSD: pmap.c,v 1.208 2009/12/31 16:00:53 uebayasi Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -211,7 +211,7 @@
#include <machine/param.h>
#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.207 2009/12/31 02:36:14 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.208 2009/12/31 16:00:53 uebayasi Exp $");
#ifdef PMAP_DEBUG
@@ -2565,7 +2565,7 @@
struct l2_bucket *l2b;
struct pv_entry *pv, *npv, **pvp;
pmap_t pm, curpm;
- pt_entry_t *ptep, pte;
+ pt_entry_t *ptep;
bool flush;
u_int flags;
@@ -2647,7 +2647,6 @@
KDASSERT(l2b != NULL);
ptep = &l2b->l2b_kva[l2pte_index(pv->pv_va)];
- pte = *ptep;
/*
* Update statistics