From: Austin Clements Date: Mon, 3 Aug 2015 16:13:05 +0000 (-0400) Subject: runtime: remove unused g.readyg field X-Git-Tag: go1.6beta1~1087 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a1cad70a2fd1ce497cd90d4caedb0f877558bd6f;p=gostls13.git runtime: remove unused g.readyg field 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 --- diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 7d3c8f6aa2..5ef1ddfb7d 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -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