]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused mutexevent linkname
authorNick Ripley <nick.ripley@datadoghq.com>
Tue, 13 Jan 2026 21:29:52 +0000 (16:29 -0500)
committerNick Ripley <nick.ripley@datadoghq.com>
Fri, 23 Jan 2026 13:36:57 +0000 (05:36 -0800)
CL 29650 added a sync.event linkname for mutexevent, but that does not
appear to have ever been used. This linkname isn't in the "hall of
shame", so we can just remove it.

Change-Id: I778b53ca089b5afda6c6074be9e43e3a6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/736220
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/mprof.go

index f1703a7ebab80210a47e8da22fcda53dc28b3ae5..7d761720b531b63490f9470cab896d460dc9def0 100644 (file)
@@ -834,7 +834,6 @@ func SetMutexProfileFraction(rate int) int {
        return int(old)
 }
 
-//go:linkname mutexevent sync.event
 func mutexevent(cycles int64, skip int) {
        if cycles < 0 {
                cycles = 0