diff options
author | 2002-10-29 18:30:21 +0000 | |
---|---|---|
committer | 2002-10-29 18:30:21 +0000 | |
commit | 93cbfefa847e712438e489eed16a4a5aa0e721e9 (patch) | |
tree | 384c5ada353ead0b220db134e622a4e263e371ba /sys/uvm/uvm_io.c | |
parent | danger will robinson, danger (diff) | |
download | wireguard-openbsd-93cbfefa847e712438e489eed16a4a5aa0e721e9.tar.xz wireguard-openbsd-93cbfefa847e712438e489eed16a4a5aa0e721e9.zip |
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_io.c')
-rw-r--r-- | sys/uvm/uvm_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c index ecb007827dc..4bbabf480a7 100644 --- a/sys/uvm/uvm_io.c +++ b/sys/uvm/uvm_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_io.c,v 1.13 2001/12/19 08:58:07 art Exp $ */ +/* $OpenBSD: uvm_io.c,v 1.14 2002/10/29 18:30:21 art Exp $ */ /* $NetBSD: uvm_io.c,v 1.12 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -138,7 +138,7 @@ uvm_io(map, uio) */ vm_map_lock(kernel_map); - (void)uvm_unmap_remove(kernel_map, kva, kva+chunksz, + uvm_unmap_remove(kernel_map, kva, kva+chunksz, &dead_entries); vm_map_unlock(kernel_map); |