mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
29330c118d
commit
5a68eb9f25
2 changed files with 0 additions and 5 deletions
|
|
@ -336,7 +336,6 @@ func allgadd(gp *g) {
|
||||||
|
|
||||||
lock(&allglock)
|
lock(&allglock)
|
||||||
allgs = append(allgs, gp)
|
allgs = append(allgs, gp)
|
||||||
allg = &allgs[0]
|
|
||||||
allglen = uintptr(len(allgs))
|
allglen = uintptr(len(allgs))
|
||||||
unlock(&allglock)
|
unlock(&allglock)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -612,16 +612,12 @@ const (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
emptystring string
|
emptystring string
|
||||||
allg **g
|
|
||||||
allglen uintptr
|
allglen uintptr
|
||||||
lastg *g
|
|
||||||
allm *m
|
allm *m
|
||||||
allp [_MaxGomaxprocs + 1]*p
|
allp [_MaxGomaxprocs + 1]*p
|
||||||
gomaxprocs int32
|
gomaxprocs int32
|
||||||
panicking uint32
|
panicking uint32
|
||||||
goos *int8
|
|
||||||
ncpu int32
|
ncpu int32
|
||||||
signote note
|
|
||||||
forcegc forcegcstate
|
forcegc forcegcstate
|
||||||
sched schedt
|
sched schedt
|
||||||
newprocs int32
|
newprocs int32
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue