1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:44:43 -07:00

runtime: prune some dead variables

Change-Id: I7a1c3079b433c4e30d72fb7d59f9594e0d5efe47
Reviewed-on: https://go-review.googlesource.com/16178
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Matthew Dempsky 2015-10-21 20:09:08 -07:00 committed by Andrew Gerrand
parent 29330c118d
commit 5a68eb9f25
2 changed files with 0 additions and 5 deletions

View File

@ -336,7 +336,6 @@ func allgadd(gp *g) {
lock(&allglock)
allgs = append(allgs, gp)
allg = &allgs[0]
allglen = uintptr(len(allgs))
unlock(&allglock)
}

View File

@ -612,16 +612,12 @@ const (
var (
emptystring string
allg **g
allglen uintptr
lastg *g
allm *m
allp [_MaxGomaxprocs + 1]*p
gomaxprocs int32
panicking uint32
goos *int8
ncpu int32
signote note
forcegc forcegcstate
sched schedt
newprocs int32