Eliminate unneeded diagnostic code.

Reviewed by:	tegge
This commit is contained in:
Alan Cox 2005-08-11 17:43:28 +00:00
parent 84cdcfb36f
commit b69dd0fda6
2 changed files with 0 additions and 14 deletions

View File

@ -2624,13 +2624,6 @@ pmap_clear_ptes(vm_page_t m, long bit)
continue;
}
#if defined(PMAP_DIAGNOSTIC)
if (!pv->pv_pmap) {
printf("Null pmap (cb) at va: 0x%lx\n", pv->pv_va);
continue;
}
#endif
PMAP_LOCK(pv->pv_pmap);
pte = pmap_pte(pv->pv_pmap, pv->pv_va);
retry:

View File

@ -2702,13 +2702,6 @@ pmap_clear_ptes(vm_page_t m, int bit)
continue;
}
#if defined(PMAP_DIAGNOSTIC)
if (!pv->pv_pmap) {
printf("Null pmap (cb) at va: 0x%x\n", pv->pv_va);
continue;
}
#endif
PMAP_LOCK(pv->pv_pmap);
pte = pmap_pte_quick(pv->pv_pmap, pv->pv_va);
retry: