summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-11 17:30:45 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-15 20:01:20 +0100
commit7009c4753929f3fb5e07647dde6c9be02bf7e22a (patch)
tree6a78ac17152a9c342660cf10785bda29a6feb498
parenta69d9580375fa2f43eb68970e292447310c88e98 (diff)
vm/vm_kern.c (kmem_submap): remove unnecessary cast
The return value from vm_map_min() is already of vm_offset_t type. * vm/vm_kern.c (kmem_submap) (addr): Remove unnecessary cast.
-rw-r--r--vm/vm_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_kern.c b/vm/vm_kern.c
index 7e377ef..1c843ff 100644
--- a/vm/vm_kern.c
+++ b/vm/vm_kern.c
@@ -842,7 +842,7 @@ kmem_submap(map, parent, min, max, size, pageable)
*/
vm_object_reference(vm_submap_object);
- addr = (vm_offset_t) vm_map_min(parent);
+ addr = vm_map_min(parent);
kr = vm_map_enter(parent, &addr, size,
(vm_offset_t) 0, TRUE,
vm_submap_object, (vm_offset_t) 0, FALSE,