Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa Remove unnecessary part of conditional.
details: https://anonhg.NetBSD.org/src/rev/7c6962187c0a
branches: trunk
changeset: 750137:7c6962187c0a
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Dec 18 19:20:35 2009 +0000
description:
Remove unnecessary part of conditional.
diffstat:
sys/arch/hppa/hppa/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d836cf6b93f6 -r 7c6962187c0a sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Fri Dec 18 19:17:08 2009 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Fri Dec 18 19:20:35 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.62 2009/12/18 19:17:08 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.63 2009/12/18 19:20:35 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.62 2009/12/18 19:17:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.63 2009/12/18 19:20:35 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -374,7 +374,7 @@
("%s(%p, 0x%lx, %p)\n", __func__, pmap, va, ptp));
KASSERT(pmap != pmap_kernel());
- if (pmap != pmap_kernel() && --ptp->wire_count <= 1) {
+ if (--ptp->wire_count <= 1) {
DPRINTF(PDB_FOLLOW|PDB_PV,
("%s: disposing ptp %p\n", __func__, ptp));
pmap_pde_set(pmap, va, 0);
Home |
Main Index |
Thread Index |
Old Index