diff options
author | Austin Clements <austin@google.com> | 2018-01-29 12:22:32 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-02-13 22:35:47 +0000 |
commit | 8693b4f095b2efdbd11967655579606bc3192c59 (patch) | |
tree | 52997e4467c4a39b3177c45601f1fbd0d4f50a06 /src/runtime/os_darwin.go | |
parent | 618f88d847af9a060a14794859d4f1ea51a08006 (diff) | |
download | go-8693b4f095b2efdbd11967655579606bc3192c59.tar.gz go-8693b4f095b2efdbd11967655579606bc3192c59.zip |
runtime: remove unused memlimit function
Change-Id: Id057dcc85d64e5c670710fbab6cacd4b906cf594
Reviewed-on: https://go-review.googlesource.com/93655
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/os_darwin.go')
-rw-r--r-- | src/runtime/os_darwin.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go index 580dffa1a3..63351f504d 100644 --- a/src/runtime/os_darwin.go +++ b/src/runtime/os_darwin.go @@ -483,14 +483,6 @@ func osyield() { usleep(1) } -func memlimit() uintptr { - // NOTE(rsc): Could use getrlimit here, - // like on FreeBSD or Linux, but Darwin doesn't enforce - // ulimit -v, so it's unclear why we'd try to stay within - // the limit. - return 0 -} - const ( _NSIG = 32 _SI_USER = 0 /* empirically true, but not what headers say */ |