summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-08-06 12:09:34 +0000
committerphk <phk@FreeBSD.org>2003-08-06 12:09:34 +0000
commitdf05426cf508d199ab07a3ca7031ee40bb5e273d (patch)
tree7152a02e4525c359d6a56387f2c1ed57df5d6303
parent09d8ecf0bf7cabc69e022a1a17fa61adfbf550a4 (diff)
downloadFreeBSD-src-df05426cf508d199ab07a3ca7031ee40bb5e273d.zip
FreeBSD-src-df05426cf508d199ab07a3ca7031ee40bb5e273d.tar.gz
Remove an unused variable.
-rw-r--r--sys/vm/vm_object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 7e78adc..6f48b94 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -651,7 +651,6 @@ vm_object_page_clean(vm_object_t object, vm_pindex_t start, vm_pindex_t end, int
vm_page_t p, np;
vm_pindex_t tstart, tend;
vm_pindex_t pi;
- struct vnode *vp;
int clearobjflags;
int pagerflags;
int curgeneration;
@@ -665,8 +664,6 @@ vm_object_page_clean(vm_object_t object, vm_pindex_t start, vm_pindex_t end, int
pagerflags = (flags & (OBJPC_SYNC | OBJPC_INVAL)) ? VM_PAGER_PUT_SYNC : VM_PAGER_CLUSTER_OK;
pagerflags |= (flags & OBJPC_INVAL) ? VM_PAGER_PUT_INVAL : 0;
- vp = object->handle;
-
vm_object_set_flag(object, OBJ_CLEANING);
tstart = start;
OpenPOWER on IntegriCloud