aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_pageout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r--sys/vm/vm_pageout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 0d054da34866..f6c5e6291692 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -366,12 +366,10 @@ vm_pageout_flushable(vm_page_t m)
static int
vm_pageout_cluster(vm_page_t m)
{
- vm_object_t object;
vm_page_t mc[2 * vm_pageout_page_count - 1];
int alignment, num_ends, page_base, pageout_count;
- object = m->object;
- VM_OBJECT_ASSERT_WLOCKED(object);
+ VM_OBJECT_ASSERT_WLOCKED(m->object);
vm_page_assert_xbusied(m);