diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 409c5f487fde..895c5ae5e2ed 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -91,7 +91,6 @@ vm_map_t clean_map=0; vm_map_t buffer_map=0; vm_map_t mb_map=0; int mb_map_full=0; -vm_map_t phys_map=0; /* * kmem_alloc_pageable: diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h index 9be497653d80..2f1fe76aae44 100644 --- a/sys/vm/vm_kern.h +++ b/sys/vm/vm_kern.h @@ -74,7 +74,6 @@ extern vm_map_t kmem_map; extern vm_map_t mb_map; extern int mb_map_full; extern vm_map_t clean_map; -extern vm_map_t phys_map; extern vm_map_t exec_map; extern vm_offset_t kernel_vm_end; diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 48c493a1764d..999d9bec7828 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1606,8 +1606,6 @@ vm_object_in_map( object) return 1; if( _vm_object_in_map( buffer_map, object, 0)) return 1; - if( _vm_object_in_map( phys_map, object, 0)) - return 1; if( _vm_object_in_map( mb_map, object, 0)) return 1; return 0;