Skip to content

Commit a1cad70

Browse files
committed
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 <[email protected]>
1 parent 70462f9 commit a1cad70

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/runtime/runtime2.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ type g struct {
257257
startpc uintptr // pc of goroutine function
258258
racectx uintptr
259259
waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr)
260-
readyg *g // scratch for readyExecute
261260

262261
// Per-G gcController state
263262
gcalloc uintptr // bytes allocated during this GC cycle

0 commit comments

Comments
 (0)