diff options
author | alc <alc@FreeBSD.org> | 2004-10-17 20:29:28 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-10-17 20:29:28 +0000 |
commit | 46e3ee9584d54622309c8423bb19004263973fcf (patch) | |
tree | 01f5f9cdaf0821db7fc9be42fc230c42399d12b0 /sys | |
parent | 8d3bcc2e7a86e83206914057c8afab4c45f99dfb (diff) | |
download | FreeBSD-src-46e3ee9584d54622309c8423bb19004263973fcf.zip FreeBSD-src-46e3ee9584d54622309c8423bb19004263973fcf.tar.gz |
Remove unnecessary check for curthread == NULL.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 5200dd0..4bd82f4 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -927,7 +927,7 @@ vm_fault_prefault(pmap_t pmap, vm_offset_t addra, vm_map_entry_t entry) vm_page_t m, mpte; vm_object_t object; - if (!curthread || (pmap != vmspace_pmap(curthread->td_proc->p_vmspace))) + if (pmap != vmspace_pmap(curthread->td_proc->p_vmspace)) return; object = entry->object.vm_object; |