]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused _CTL_KERN on openbsd
authorTobias Klauser <tklauser@distanz.ch>
Thu, 16 Nov 2023 14:14:04 +0000 (15:14 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 17 Nov 2023 16:19:52 +0000 (16:19 +0000)
This was supposed to be removed in CL 539155 already.

Change-Id: I22be1a72d5d8eb02514045609429e706c344d5fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/542915
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/runtime/os_openbsd.go

index f0d453b34f5f64433ea1ad37c150aa5a90e0ae69..aa2ba859a8ace513ac712445a9d32a16132ee21c 100644 (file)
@@ -32,8 +32,6 @@ var sigset_all = ^sigset(0)
 
 // From OpenBSD's <sys/sysctl.h>
 const (
-       _CTL_KERN = 1
-
        _CTL_HW        = 6
        _HW_NCPU       = 3
        _HW_PAGESIZE   = 7