summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm/vm_user.c b/vm/vm_user.c
index 8c7a5d8..c71e9f5 100644
--- a/vm/vm_user.c
+++ b/vm/vm_user.c
@@ -412,7 +412,6 @@ kern_return_t vm_wire(port, map, start, size, access)
vm_size_t size;
vm_prot_t access;
{
- host_t host;
boolean_t priv;
if (!IP_VALID(port))
@@ -430,8 +429,6 @@ kern_return_t vm_wire(port, map, start, size, access)
priv = ip_kotype(port) == IKOT_HOST_PRIV;
ip_unlock(port);
- host = (host_t) port->ip_kobject;
-
if (map == VM_MAP_NULL)
return KERN_INVALID_TASK;