diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index 64f1c79c36..eb5221443e 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -587,8 +587,6 @@ func gcWakeAllAssists() { // // gcParkAssist reports whether the assist is now satisfied. If it // returns false, the caller must retry the assist. -// -//go:nowritebarrier func gcParkAssist() bool { lock(&work.assistQueue.lock) // If the GC cycle finished while we were getting the lock,