diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-29 18:30:22 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-29 18:30:22 +0000 |
commit | c8811b30c30f967b1b25387b30bc1cfd2e619a84 (patch) | |
tree | 7f1dbc5c260750693c2baf5bd8bb4e20787c0a3f /sys/uvm/uvm_km.c | |
parent | e58a32400cb5873b3caa54fb806f18fd1d173388 (diff) |
Since memory deallocation can't fail, remove the error return from
uvm_unmap, uvm_deallocate and a few other functions.
Simplifies some code and reduces diff to the UBC branch.
Diffstat (limited to 'sys/uvm/uvm_km.c')
-rw-r--r-- | sys/uvm/uvm_km.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index aa7bf26bc15..9442515f0b2 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.33 2002/09/12 12:50:47 art Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.34 2002/10/29 18:30:21 art Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -612,7 +612,7 @@ uvm_km_free_wakeup(map, addr, size) vm_map_entry_t dead_entries; vm_map_lock(map); - (void)uvm_unmap_remove(map, trunc_page(addr), round_page(addr+size), + uvm_unmap_remove(map, trunc_page(addr), round_page(addr+size), &dead_entries); wakeup(map); vm_map_unlock(map); |