From 2df6c1abce8cfd3f47ed5eb5a45733d7cbb53b4b Mon Sep 17 00:00:00 2001 From: Jakub Ciolek Date: Wed, 27 Jul 2022 09:02:17 +0200 Subject: [PATCH] runtime: remove the started field from sweepdata This bool doesn't seem to be used anymore. Remove it. Change-Id: Ic73346a98513c392d89482c5e1d818a90d713516 Reviewed-on: https://go-review.googlesource.com/c/go/+/419654 Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- src/runtime/mgcsweep.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/runtime/mgcsweep.go b/src/runtime/mgcsweep.go index 6da6dbea20..4b92ef938c 100644 --- a/src/runtime/mgcsweep.go +++ b/src/runtime/mgcsweep.go @@ -33,10 +33,9 @@ var sweep sweepdata // State of background sweep. type sweepdata struct { - lock mutex - g *g - parked bool - started bool + lock mutex + g *g + parked bool nbgsweep uint32 npausesweep uint32 -- 2.50.0