summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2015-11-08 20:45:58 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2015-11-08 20:45:58 +0000
commit1b492307a3e12d814df8db98ed4957c6ca33054f (patch)
tree416ae0c3524b937a01acc63a86fc1fc5fc5dcd92 /sys/kern/init_main.c
parentfb4db832583f13d006eaf22418193944f4997a14 (diff)
keep all the setperf timeout(9) handling in one place; ok tedu@
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 3a919105aa9..9de115cb56c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.245 2015/10/07 10:50:35 mpi Exp $ */
+/* $OpenBSD: init_main.c,v 1.246 2015/11/08 20:45:57 naddy Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -118,11 +118,6 @@ struct sigacts sigacts0;
struct process *initprocess;
struct proc *reaperproc;
-#ifndef SMALL_KERNEL
-extern struct timeout setperf_to;
-void setperf_auto(void *);
-#endif
-
extern struct user *proc0paddr;
struct vnode *rootvp, *swapdev_vp;
@@ -549,10 +544,6 @@ main(void *framep)
start_init_exec = 1;
wakeup((void *)&start_init_exec);
-#ifndef SMALL_KERNEL
- timeout_set(&setperf_to, setperf_auto, NULL);
-#endif
-
/*
* Start the idle pool page garbage collector
*/