aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_plan9.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2018-01-29 12:22:32 -0500
committerAustin Clements <austin@google.com>2018-02-13 22:35:47 +0000
commit8693b4f095b2efdbd11967655579606bc3192c59 (patch)
tree52997e4467c4a39b3177c45601f1fbd0d4f50a06 /src/runtime/os_plan9.go
parent618f88d847af9a060a14794859d4f1ea51a08006 (diff)
downloadgo-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_plan9.go')
-rw-r--r--src/runtime/os_plan9.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go
index 32fdabb29f..38f0cf5a2b 100644
--- a/src/runtime/os_plan9.go
+++ b/src/runtime/os_plan9.go
@@ -466,10 +466,6 @@ func write(fd uintptr, buf unsafe.Pointer, n int32) int64 {
return int64(pwrite(int32(fd), buf, n, -1))
}
-func memlimit() uint64 {
- return 0
-}
-
var _badsignal = []byte("runtime: signal received on thread not created by Go.\n")
// This runs on a foreign stack, without an m or a g. No stack split.