aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime1.go')
-rw-r--r--src/runtime/runtime1.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go
index 2151be59f9..ea3883018b 100644
--- a/src/runtime/runtime1.go
+++ b/src/runtime/runtime1.go
@@ -432,15 +432,3 @@ func reflect_typelinks() [][]*_type {
}
return ret
}
-
-// TODO: move back into mgc.go
-func readgogc() int32 {
- p := gogetenv("GOGC")
- if p == "" {
- return 100
- }
- if p == "off" {
- return -1
- }
- return int32(atoi(p))
-}