summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-04-06 03:44:34 +0000
committertedu <tedu@openbsd.org>2013-04-06 03:44:34 +0000
commit7e4992814da25ff0192f39c21961a23e3099612a (patch)
tree9ed38bb189e0e6556af1a05ca9675a0eccec9d9a /sys/kern/kern_prot.c
parentkill redundant prototype (diff)
downloadwireguard-openbsd-7e4992814da25ff0192f39c21961a23e3099612a.tar.xz
wireguard-openbsd-7e4992814da25ff0192f39c21961a23e3099612a.zip
rthreads are always enabled. remove the sysctl.
ok deraadt guenther kettenis matthew
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 0cff5251972..6a42a3a61b5 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_prot.c,v 1.55 2012/10/01 00:08:42 guenther Exp $ */
+/* $OpenBSD: kern_prot.c,v 1.56 2013/04/06 03:44:34 tedu Exp $ */
/* $NetBSD: kern_prot.c,v 1.33 1996/02/09 18:59:42 christos Exp $ */
/*
@@ -72,8 +72,6 @@ int
sys_getthrid(struct proc *p, void *v, register_t *retval)
{
- if (!rthreads_enabled)
- return (ENOTSUP);
*retval = p->p_pid + THREAD_PID_OFFSET;
return (0);
}