1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Remove unnecessary check for curthread == NULL.

This commit is contained in:
Alan Cox 2004-10-17 20:29:28 +00:00
parent b08f8f39ca
commit 950d5f7a99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136621

View File

@ -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;