]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unnecesarry newline on freeStackSpans
authorKoichi Shiraishi <zchee.io@gmail.com>
Wed, 28 Jul 2021 19:22:47 +0000 (04:22 +0900)
committerAustin Clements <austin@google.com>
Mon, 30 Aug 2021 16:00:10 +0000 (16:00 +0000)
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>

src/runtime/stack.go

index 54ad66dca2d202697926af9ea5d75729336868bf..368ad6efa45403281bd259483089b3d8ac3a04f4 100644 (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)