diff options
author | cognet <cognet@FreeBSD.org> | 2004-11-26 15:04:26 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-11-26 15:04:26 +0000 |
commit | f788045cc26f6e24a7be9aca3b701ae7ee918628 (patch) | |
tree | 6db7c0e75ed09c5f294aea14337bdf263d4e4fa6 /sys | |
parent | 8c3e449bd6665c48d752fa516147386656958219 (diff) | |
download | FreeBSD-src-f788045cc26f6e24a7be9aca3b701ae7ee918628.zip FreeBSD-src-f788045cc26f6e24a7be9aca3b701ae7ee918628.tar.gz |
Remove useless casts.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/uma_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index 1f62d27..a3c56f8 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -396,7 +396,7 @@ vsetslab(vm_offset_t va, uma_slab_t slab) { vm_page_t p; - p = PHYS_TO_VM_PAGE(pmap_kextract((vm_offset_t)va)); + p = PHYS_TO_VM_PAGE(pmap_kextract(va)); p->object = (vm_object_t)slab; p->flags |= PG_SLAB; } @@ -406,7 +406,7 @@ vsetobj(vm_offset_t va, vm_object_t obj) { vm_page_t p; - p = PHYS_TO_VM_PAGE(pmap_kextract((vm_offset_t)va)); + p = PHYS_TO_VM_PAGE(pmap_kextract(va)); p->object = obj; p->flags &= ~PG_SLAB; } |