diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-03-26 13:40:06 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-03-26 13:40:06 +0000 |
commit | add89e71d9c5838dfefc6777e4811780334de97d (patch) | |
tree | 75fa848c0df1e6d346a74623681e86d6d30f1ee2 /sys/uvm/uvm_map.c | |
parent | b5e05aaf3d967427bc39a710364710a4d5e75add (diff) |
Remove parenthesis around return value to reduce the diff with NetBSD.
No functional change.
ok mlarkin@
Diffstat (limited to 'sys/uvm/uvm_map.c')
-rw-r--r-- | sys/uvm/uvm_map.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index d62981f3c74..c3d9190ca78 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.273 2021/03/12 14:15:49 jsg Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.274 2021/03/26 13:40:05 mpi Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -1000,7 +1000,7 @@ uvm_mapanon(struct vm_map *map, vaddr_t *addr, vsize_t sz, */ new = uvm_mapent_alloc(map, flags); if (new == NULL) - return(ENOMEM); + return ENOMEM; vm_map_lock(map); first = last = NULL; @@ -1229,7 +1229,7 @@ uvm_map(struct vm_map *map, vaddr_t *addr, vsize_t sz, */ new = uvm_mapent_alloc(map, flags); if (new == NULL) - return(ENOMEM); + return ENOMEM; if (flags & UVM_FLAG_TRYLOCK) { if (vm_map_lock_try(map) == FALSE) { @@ -1759,7 +1759,7 @@ uvm_mapent_alloc(struct vm_map *map, int flags) RBT_POISON(uvm_map_addr, me, UVMMAP_DEADBEEF); out: - return(me); + return me; } /* @@ -4229,7 +4229,7 @@ uvm_map_submap(struct vm_map *map, vaddr_t start, vaddr_t end, result = EINVAL; vm_map_unlock(map); - return(result); + return result; } /* |