summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-10-20 08:47:24 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-10-20 08:47:24 +0000
commit5beaf447186df4b8c23662fbf9adb8236f6958f3 (patch)
tree35a9d7d0a827d5f4ce67167961b9757cdb20f44b /sys/uvm
parent75c8c64891bd721901fa9422f425602df2b78ba4 (diff)
Remove guard, uao_init() is called only once and no other function use one.
ok kettenis@
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_aobj.c8
1 files changed, 1 insertions, 7 deletions
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!