]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove useless empty string literal
authorMichael Pratt <mpratt@google.com>
Tue, 19 Jul 2022 17:50:52 +0000 (13:50 -0400)
committerMichael Pratt <mpratt@google.com>
Mon, 8 Aug 2022 14:23:44 +0000 (14:23 +0000)
Assumingly this appears to have been a bug in c2go, as this appeared in
https://go.dev/cl/172260043.

Change-Id: I8477ec226ffb31268b9c479af13b0fcf401dbeec
Reviewed-on: https://go-review.googlesource.com/c/go/+/418276
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>

src/runtime/proc.go

index 5ec31d1c44ea007d4af9cbe2f3969b356ce922f1..b6500bff00061f9c6abecfa3986c3bf9f3eb0f2f 100644 (file)
@@ -5459,7 +5459,7 @@ func schedtrace(detailed bool) {
                if lockedg != nil {
                        id3 = lockedg.goid
                }
-               print("  M", mp.id, ": p=", id1, " curg=", id2, " mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, ""+" locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=", id3, "\n")
+               print("  M", mp.id, ": p=", id1, " curg=", id2, " mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, " locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=", id3, "\n")
        }
 
        forEachG(func(gp *g) {