Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 pmap_page_remove(): remove an unused loca...



details:   https://anonhg.NetBSD.org/src/rev/a09717d1061d
branches:  trunk
changeset: 750435:a09717d1061d
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Dec 31 16:00:53 2009 +0000

description:
pmap_page_remove(): remove an unused local variable; no functional changes.

diffstat:

 sys/arch/arm/arm32/pmap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 7cf368f0816f -r a09717d1061d sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Thu Dec 31 15:58:26 2009 +0000
+++ b/sys/arch/arm/arm32/pmap.c Thu Dec 31 16:00:53 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index