From f076ad893b70048cb4955bf04dbbec0adeb27dd7 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 13 Mar 2015 01:52:12 +1100 Subject: [PATCH] runtime: remove reference to openbsd kern.rthreads sysctl The kern.rthreads sysctl has not existed for a long time - there is no way to disable rthreads and __tfork no longer returns ENOTSUP. Change-Id: Ia50ff01ac86ea83358e72b8f45f7818aaec1e4b1 Reviewed-on: https://go-review.googlesource.com/7490 Reviewed-by: Minux Ma --- src/runtime/os1_openbsd.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/runtime/os1_openbsd.go b/src/runtime/os1_openbsd.go index 04779ea870..92a19fe31b 100644 --- a/src/runtime/os1_openbsd.go +++ b/src/runtime/os1_openbsd.go @@ -117,9 +117,6 @@ func newosproc(mp *m, stk unsafe.Pointer) { if ret < 0 { print("runtime: failed to create new OS thread (have ", mcount()-1, " already; errno=", -ret, ")\n") - if ret == -_ENOTSUP { - print("runtime: is kern.rthreads disabled?\n") - } throw("runtime.newosproc") } }