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:
Konstantin Belousov 2024-08-05 18:05:15 +03:00
parent fef0e39f64
commit 8bb6b413f6

View File

@ -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);