Eliminate dead code: We have not performed pageouts on the kernel object

in this millenium.
This commit is contained in:
Alan Cox 2007-06-13 06:10:10 +00:00
parent 2283429409
commit d076fbea58

View File

@ -440,9 +440,7 @@ vm_pageout_flush(vm_page_t *mc, int count, int flags)
vm_page_unlock_queues();
vm_object_pip_add(object, count);
vm_pager_put_pages(object, mc, count,
(flags | ((object == kernel_object) ? VM_PAGER_PUT_SYNC : 0)),
pageout_status);
vm_pager_put_pages(object, mc, count, flags, pageout_status);
vm_page_lock_queues();
for (i = 0; i < count; i++) {