aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 3d84968b10..c8f6de1ac8 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -245,18 +245,6 @@ func lockedOSThread() bool {
return gp.lockedm != nil && gp.m.lockedg != nil
}
-func newP() *p {
- return new(p)
-}
-
-func newM() *m {
- return new(m)
-}
-
-func newG() *g {
- return new(g)
-}
-
var (
allgs []*g
allglock mutex