1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:10:23 -07:00

runtime: remove unnecesarry newline on freeStackSpans

Change-Id: I16a3241d8818c67922ddbf7830b8c2c5f317e1a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/338209
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Trust: Keith Randall <khr@golang.org>
This commit is contained in:
Koichi Shiraishi 2021-07-29 04:22:47 +09:00 committed by Austin Clements
parent 56c3856d52
commit 7b38dd8e25

View File

@ -1198,7 +1198,6 @@ func shrinkstack(gp *g) {
// freeStackSpans frees unused stack spans at the end of GC.
func freeStackSpans() {
// Scan stack pools for empty stack spans.
for order := range stackpool {
lock(&stackpool[order].item.mu)