summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2010-06-27 20:53:31 +0000
committeroga <oga@openbsd.org>2010-06-27 20:53:31 +0000
commitaaf24a5fa86f22f7bf03c5083292bad4abc9355c (patch)
treeb324f7fce764d05d2bafbff1f7897046fb1d0b0b
parentRemove "pt" from struct roffsu, as CSS (the only reason it was there) is (diff)
downloadwireguard-openbsd-aaf24a5fa86f22f7bf03c5083292bad4abc9355c.tar.xz
wireguard-openbsd-aaf24a5fa86f22f7bf03c5083292bad4abc9355c.zip
Kill another #ifdef UBC chunk that was annoying me while doing something
else. ok thib@
-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++) {