diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-06 19:13:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-06 19:13:32 +0000 |
commit | 0d4b99cfa806f6ec46fc3d7edbb0e44825438795 (patch) | |
tree | 7930336e01d9d8407ad66d66a1c5a9b637f02f41 /sys | |
parent | 17be9bdb9e347587a93ab0b373a02f45f1ef7dd4 (diff) |
delete checks for impossible conditions
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 45a159221ff..53e3015b988 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.124 2008/10/24 06:34:55 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.125 2008/11/06 19:13:31 deraadt Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -578,7 +578,7 @@ pmap_exec_account(struct pmap *pm, vaddr_t va, if (pm == pmap_kernel()) return; - if (curproc == NULL || curproc->p_vmspace == NULL || + if (curproc->p_vmspace == NULL || pm != vm_map_pmap(&curproc->p_vmspace->vm_map)) return; |