aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_linux_be64.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-02-16 11:26:14 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2018-02-17 18:35:41 +0000
commit1b1c8b34d129eefcdbad234914df999581e62b2f (patch)
tree45c2c52d9abf69e571a14746af046805708599dc /src/runtime/os_linux_be64.go
parent9402a2bff75907668f8488ea9d32c56fdf101f04 (diff)
downloadgo-1b1c8b34d129eefcdbad234914df999581e62b2f.tar.xz
runtime: remove unused getrlimit function
Follow CL 93655 which removed the (commented-out) usage of this function. Also remove unused constant _RLIMIT_AS and type rlimit. Change-Id: Ifb6e6b2104f4c2555269f8ced72bfcae24f5d5e9 Reviewed-on: https://go-review.googlesource.com/94775 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/os_linux_be64.go')
-rw-r--r--src/runtime/os_linux_be64.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/os_linux_be64.go b/src/runtime/os_linux_be64.go
index e66dcac2ad..85466d704b 100644
--- a/src/runtime/os_linux_be64.go
+++ b/src/runtime/os_linux_be64.go
@@ -15,16 +15,10 @@ const (
_SIG_BLOCK = 0
_SIG_UNBLOCK = 1
_SIG_SETMASK = 2
- _RLIMIT_AS = 9
)
type sigset uint64
-type rlimit struct {
- rlim_cur uintptr
- rlim_max uintptr
-}
-
var sigset_all = sigset(^uint64(0))
//go:nosplit