From 5beaf447186df4b8c23662fbf9adb8236f6958f3 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 20 Oct 2020 08:47:24 +0000 Subject: Remove guard, uao_init() is called only once and no other function use one. ok kettenis@ --- sys/uvm/uvm_aobj.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/uvm') diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index 31276a5a0da..7c44ec4f179 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.87 2020/09/22 14:31:08 mpi Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.88 2020/10/20 08:47:23 mpi Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */ /* @@ -788,12 +788,6 @@ uao_create(vsize_t size, int flags) void uao_init(void) { - static int uao_initialized; - - if (uao_initialized) - return; - uao_initialized = TRUE; - /* * NOTE: Pages for this pool must not come from a pageable * kernel map! -- cgit v1.2.3