In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),

which has been unused since r189415.

Reviewed by:	alc
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-12-30 20:37:47 +00:00
parent 86390f9444
commit 24da2fe3d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260103

View file

@ -1765,16 +1765,6 @@ pmap_invalidate_cache_pages(vm_page_t *pages, int count)
}
}
/*
* Are we current address space or kernel?
*/
static __inline int
pmap_is_current(pmap_t pmap)
{
return (pmap == kernel_pmap ||
(pmap->pm_pml4[PML4PML4I] & PG_FRAME) == (PML4pml4e[0] & PG_FRAME));
}
/*
* Routine: pmap_extract
* Function: