mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Eliminate pointless casts from kmem_suballoc().
This commit is contained in:
parent
7ee52b008a
commit
2bc24aa956
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178637
@ -233,8 +233,8 @@ kmem_suballoc(parent, min, max, size)
|
||||
|
||||
size = round_page(size);
|
||||
|
||||
*min = (vm_offset_t) vm_map_min(parent);
|
||||
ret = vm_map_find(parent, NULL, (vm_offset_t) 0,
|
||||
*min = vm_map_min(parent);
|
||||
ret = vm_map_find(parent, NULL, 0,
|
||||
min, size, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0);
|
||||
if (ret != KERN_SUCCESS)
|
||||
panic("kmem_suballoc: bad status return of %d", ret);
|
||||
|
Loading…
Reference in New Issue
Block a user