summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-25 15:22:34 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-27 00:50:26 +0200
commitc706c9321eaf9c4dd6c462428708759dbf5a1cc4 (patch)
tree5e6cf212bb2bdbe84df190192e64fc46446fb9ac /vm
parent545f8bceb537130d8f0b9e66cd7e6aa81a11a1bf (diff)
Remove unused variables
* vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused `kr' variable. * linux/dev/glue/block.c (free_buffer): Remove unused `i' variable. (register_blkdev): Remove unused `err' variable. (unregister_blkdev): Likewise. (bread): Likewise. (init_partition): Likewise. * linux/dev/glue/net.c (device_write): Likewise.
Diffstat (limited to 'vm')
-rw-r--r--vm/memory_object_proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm/memory_object_proxy.c b/vm/memory_object_proxy.c
index cfacca9..7204256 100644
--- a/vm/memory_object_proxy.c
+++ b/vm/memory_object_proxy.c
@@ -126,7 +126,6 @@ memory_object_create_proxy (ipc_space_t space, vm_prot_t max_protection,
vm_offset_t *len, natural_t len_count,
ipc_port_t *port)
{
- kern_return_t kr;
memory_object_proxy_t proxy;
ipc_port_t notify;