mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
vm/vm_pageout.c: eliminate write-only variable
PR: 280631
Fixes: acb4cb33d3
(non-debug builds)
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fef0e39f64
commit
8bb6b413f6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user