]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused g.readyg field
authorAustin Clements <austin@google.com>
Mon, 3 Aug 2015 16:13:05 +0000 (12:13 -0400)
committerAustin Clements <austin@google.com>
Mon, 14 Sep 2015 18:40:22 +0000 (18:40 +0000)
Commit 0e6a6c5 removed readyExecute a long time ago, but left behind
the g.readyg field that was used by readyExecute. Remove this now
unused field.

Change-Id: I41b87ad2b427974d256ec7a7f6d4bdc2ce8a13bb
Reviewed-on: https://go-review.googlesource.com/13111
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/runtime2.go

index 7d3c8f6aa2151ee06cb9f6a019f68bec62344bff..5ef1ddfb7dc85b9942f07da84f6addb5cd9c85cc 100644 (file)
@@ -257,7 +257,6 @@ type g struct {
        startpc        uintptr // pc of goroutine function
        racectx        uintptr
        waiting        *sudog // sudog structures this g is waiting on (that have a valid elem ptr)
-       readyg         *g     // scratch for readyExecute
 
        // Per-G gcController state
        gcalloc    uintptr // bytes allocated during this GC cycle