]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: drop unused work.ndone field
authorMichael Pratt <mpratt@google.com>
Thu, 9 Jul 2020 20:20:48 +0000 (16:20 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 23 Oct 2020 16:12:52 +0000 (16:12 +0000)
This field is unused since golang.org/cl/134785 and thus can be
trivially removed.

Change-Id: I1a87f8e78ffdf662440409404f0251c40bc56a4f
Reviewed-on: https://go-review.googlesource.com/c/go/+/241741
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mgc.go

index 0a4d5616a554a6994584fab4fdebc242f3ec28d0..65ac654b1429da69d4973f3de1ffb88f4fd877cc 100644 (file)
@@ -983,7 +983,6 @@ var work struct {
        nproc  uint32
        tstart int64
        nwait  uint32
-       ndone  uint32
 
        // Number of roots of various root types. Set by gcMarkRootPrepare.
        nFlushCacheRoots                               int