diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-07-09 22:29:57 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-07-09 22:29:57 +0000 |
commit | 2b856d134632dfdeff9ea4e7dca4d8958fb0f0bb (patch) | |
tree | 12fb7faf3468b0bb2d1712f8f88a6b5318059de6 /sys/uvm/uvm_mmap.c | |
parent | 90f3568623813a10b6ae7548eaf13da8a5e5923c (diff) |
Remove the VREF() macro and replaces all instances with a call to verf(),
which is exactly what the macro does.
Macro's that are nothing more then:
#define FUNCTION(arg) function(arg)
are almost always pointless and should go away.
OK blambert@
Agreed by many.
Diffstat (limited to 'sys/uvm/uvm_mmap.c')
-rw-r--r-- | sys/uvm/uvm_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c index 12ff4569aa3..d02482e8ab0 100644 --- a/sys/uvm/uvm_mmap.c +++ b/sys/uvm/uvm_mmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_mmap.c,v 1.76 2009/06/17 00:13:59 oga Exp $ */ +/* $OpenBSD: uvm_mmap.c,v 1.77 2009/07/09 22:29:56 thib Exp $ */ /* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */ /* @@ -1138,7 +1138,7 @@ uvm_mmap(vm_map_t map, vaddr_t *addr, vsize_t size, vm_prot_t prot, } #else /* XXX for now, attach doesn't gain a ref */ - VREF(vp); + vref(vp); #endif } else { uobj = udv_attach((void *) &vp->v_rdev, |