summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-11 00:54:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:53 +0200
commit84fa0626bc30ee2d3dee6c7f8629b4994caf2e68 (patch)
treec3d32f3c2a73d77cbd02d2b431e417e66cc13c99 /vm
parent350415bcec5377422a8dd5e5ef4d1429e60851c3 (diff)
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix a bunch of "unused variable" warnings. * device/ds_routines.c (ds_device_open): Remove unused `namebuf' variable. * device/kmsg.c (kmsgread): Remove unused `err' variable. * device/net_io.c (net_set_filter): Remove unused `j' variable. * i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of macro. * i386/i386/pic.c (picinit): Remove unused `i' variable. * i386/i386/pit.c (clkstart): Remove unused `flags' variable. * i386/i386/trap.c (kernel_trap): Remove unused `exc' variable. (user_trap): Remove unused `map' and `result' variables. (v86_assist): Remove unused `size' variable. * i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused `dev' variable. * i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable. (kdcngetc): Remove unused `i' variable. * i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused `result' variable. * i386/i386at/kd_mouse.c (mousegetstat): Likewise. * i386/i386at/lpr.c (lprattach): Remove unused `tp' variable. (lprsetstat): Remove unused `dev_addr' and `s' variables. * i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable. * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable. * kern/bootstrap.c (boot_script_exec_cmd): Remove unused `boot_exec_info' and `user_map' variables. * vm/vm_kern.c (projected_buffer_map): Remove unused `object' variable.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm/vm_kern.c b/vm/vm_kern.c
index 33f47c7..2864fa1 100644
--- a/vm/vm_kern.c
+++ b/vm/vm_kern.c
@@ -184,7 +184,6 @@ projected_buffer_map(map, kernel_addr, size, user_p, protection, inheritance)
vm_prot_t protection;
vm_inherit_t inheritance; /*Currently only VM_INHERIT_NONE supported*/
{
- vm_object_t object;
vm_map_entry_t u_entry, k_entry;
vm_offset_t physical_addr, user_addr;
vm_size_t r_size;