summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_pager.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/uvm/uvm_pager.c b/sys/uvm/uvm_pager.c
index b31918231de..2e307afedcd 100644
--- a/sys/uvm/uvm_pager.c
+++ b/sys/uvm/uvm_pager.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pager.c,v 1.55 2010/02/12 01:35:14 tedu Exp $ */
+/* $OpenBSD: uvm_pager.c,v 1.56 2010/06/27 20:53:31 oga Exp $ */
/* $NetBSD: uvm_pager.c,v 1.36 2000/11/27 18:26:41 chs Exp $ */
/*
@@ -841,12 +841,6 @@ uvm_aio_aiodone(struct buf *bp)
error = (bp->b_flags & B_ERROR) ? (bp->b_error ? bp->b_error : EIO) : 0;
write = (bp->b_flags & B_READ) == 0;
-#ifdef UBC
- /* XXXUBC B_NOCACHE is for swap pager, should be done differently */
- if (write && !(bp->b_flags & B_NOCACHE) && bioops.io_pageiodone) {
- (*bioops.io_pageiodone)(bp);
- }
-#endif
uobj = NULL;
for (i = 0; i < npages; i++) {