From 91162e7fb8aa0455e3242848a5b5e5920e43c08c Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 18 Dec 2014 23:59:28 +0000 Subject: [PATCH] remove two useless and unused hash penalty defines --- sys/uvm/uvm_aobj.c | 5 +---- sys/uvm/uvm_vnode.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index f7678213545..8c0c28119ef 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.74 2014/12/17 19:42:15 tedu Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.75 2014/12/18 23:59:28 tedu Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */ /* @@ -901,9 +901,6 @@ uao_detach_locked(struct uvm_object *uobj) * XXXJRT currently never happens, as we never directly initiate * XXXJRT I/O */ - -#define UAO_HASH_PENALTY 4 /* XXX: a guess */ - boolean_t uao_flush(struct uvm_object *uobj, voff_t start, voff_t stop, int flags) { diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c index 7a3578efc8a..3422e1eef30 100644 --- a/sys/uvm/uvm_vnode.c +++ b/sys/uvm/uvm_vnode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_vnode.c,v 1.87 2014/12/17 19:42:15 tedu Exp $ */ +/* $OpenBSD: uvm_vnode.c,v 1.88 2014/12/18 23:59:28 tedu Exp $ */ /* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */ /* @@ -577,8 +577,6 @@ uvm_vnp_terminate(struct vnode *vp) * off (i.e. we need to do an iosync). also note that once a * page is PG_BUSY it must stay in its object until it is un-busyed. */ -#define UVN_HASH_PENALTY 4 /* XXX: a guess */ - boolean_t uvn_flush(struct uvm_object *uobj, voff_t start, voff_t stop, int flags) { -- 2.20.1