From 963bf8102f3556f27d601e53cef1944e2ab21ef7 Mon Sep 17 00:00:00 2001 From: markj Date: Sun, 26 Nov 2017 19:16:45 +0000 Subject: [PATCH] Remove unneeded initializations from vm_phys_init_page(). The page allocator always initializes the aflags and oflags fields. Reviewed by: alc, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D13242 --- sys/vm/vm_phys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index 1c5b8477415b..25f06d7e277a 100644 --- a/sys/vm/vm_phys.c +++ b/sys/vm/vm_phys.c @@ -742,7 +742,7 @@ vm_phys_init_page(vm_paddr_t pa) m->wire_count = 0; m->busy_lock = VPB_UNBUSIED; m->hold_count = 0; - m->flags = m->aflags = m->oflags = 0; + m->flags = 0; m->phys_addr = pa; m->queue = PQ_NONE; m->psind = 0;