From 6e4f51d1ac5671a4c883f53efa111bfa6f84ac99 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Fri, 29 Dec 2000 13:05:22 +0000 Subject: [PATCH] clean up kmem_suballoc(): remove useless assignment remove 'register' variables --- sys/vm/vm_kern.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 14b9fbec3ca5..03b7bb9477be 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -248,11 +248,11 @@ kmem_free(map, addr, size) */ vm_map_t kmem_suballoc(parent, min, max, size) - register vm_map_t parent; + vm_map_t parent; vm_offset_t *min, *max; - register vm_size_t size; + vm_size_t size; { - register int ret; + int ret; vm_map_t result; size = round_page(size); @@ -269,7 +269,7 @@ kmem_suballoc(parent, min, max, size) result = vm_map_create(vm_map_pmap(parent), *min, *max); if (result == NULL) panic("kmem_suballoc: cannot create submap"); - if ((ret = vm_map_submap(parent, *min, *max, result)) != KERN_SUCCESS) + if (vm_map_submap(parent, *min, *max, result) != KERN_SUCCESS) panic("kmem_suballoc: unable to change range to submap"); return (result); }