From a1cad70a2fd1ce497cd90d4caedb0f877558bd6f Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 3 Aug 2015 12:13:05 -0400 Subject: [PATCH] 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 --- src/runtime/runtime2.go | 1 - 1 file changed, 1 deletion(-) 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 -- 2.48.1