diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-16 10:11:36 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-16 10:11:36 +0000 |
commit | b496dd914cd82d5fe7714d64dadecd636e2cd01a (patch) | |
tree | f57364b765ff43a8862515284dca88ae20218a18 | |
parent | 848b63ee310ba438b3223232b590a6b7f341e2ab (diff) |
No need to do "sp->sg_npte = 0" in an if (sp->sg_npte == 0)
-rw-r--r-- | sys/arch/sparc/sparc/pmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c index 8408d0aba58..6ef0ef3d450 100644 --- a/sys/arch/sparc/sparc/pmap.c +++ b/sys/arch/sparc/sparc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.41 1999/11/12 21:02:50 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.42 1999/11/16 10:11:35 art Exp $ */ /* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */ /* @@ -3895,8 +3895,6 @@ pmap_rmk4m(pm, va, endva, vr, vs) #ifdef DEBUG printf("pmap_rmk4m: attempt to free base kernel alloc\n"); #endif - /* sp->sg_pte = NULL; */ - sp->sg_npte = 0; return; } /* no need to free the table; it is statically allocated */ |