diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2018-02-16 11:26:14 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2018-02-17 18:35:41 +0000 |
commit | 1b1c8b34d129eefcdbad234914df999581e62b2f (patch) | |
tree | 45c2c52d9abf69e571a14746af046805708599dc /src/runtime/os_linux.go | |
parent | 9402a2bff75907668f8488ea9d32c56fdf101f04 (diff) | |
download | go-1b1c8b34d129eefcdbad234914df999581e62b2f.tar.gz go-1b1c8b34d129eefcdbad234914df999581e62b2f.zip |
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.go')
-rw-r--r-- | src/runtime/os_linux.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/os_linux.go b/src/runtime/os_linux.go index 69850a9ccb..7ebca7f856 100644 --- a/src/runtime/os_linux.go +++ b/src/runtime/os_linux.go @@ -350,8 +350,6 @@ func sigprocmask(how int32, new, old *sigset) { rtsigprocmask(how, new, old, int32(unsafe.Sizeof(*new))) } -//go:noescape -func getrlimit(kind int32, limit unsafe.Pointer) int32 func raise(sig uint32) func raiseproc(sig uint32) |