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/sys_linux_mipsx.s | |
| parent | 9402a2bff75907668f8488ea9d32c56fdf101f04 (diff) | |
| download | go-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/sys_linux_mipsx.s')
| -rw-r--r-- | src/runtime/sys_linux_mipsx.s | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/sys_linux_mipsx.s b/src/runtime/sys_linux_mipsx.s index e6c8a2d41f..d96b5dac94 100644 --- a/src/runtime/sys_linux_mipsx.s +++ b/src/runtime/sys_linux_mipsx.s @@ -32,7 +32,6 @@ #define SYS_rt_sigaction 4194 #define SYS_rt_sigprocmask 4195 #define SYS_sigaltstack 4206 -#define SYS_getrlimit 4076 #define SYS_madvise 4218 #define SYS_mincore 4217 #define SYS_gettid 4222 @@ -110,14 +109,6 @@ TEXT runtime·read(SB),NOSPLIT,$0-16 MOVW R2, ret+12(FP) RET -TEXT runtime·getrlimit(SB),NOSPLIT,$0-12 - MOVW kind+0(FP), R4 - MOVW limit+4(FP), R5 - MOVW $SYS_getrlimit, R2 - SYSCALL - MOVW R2, ret+8(FP) - RET - TEXT runtime·usleep(SB),NOSPLIT,$28-4 MOVW usec+0(FP), R3 MOVW R3, R5 |
