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

runtime: remove unused code

Change-Id: Ifb9864704f55e27adfa5c21452fed5a243468d13
GitHub-Last-Rev: 6b000e7314
GitHub-Pull-Request: golang/go#67013
Reviewed-on: https://go-review.googlesource.com/c/go/+/581376
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
qiulaidongfeng 2024-04-24 12:03:56 +00:00 committed by Keith Randall
parent 07fc59199b
commit 0eaf8d97b6

View File

@ -6954,18 +6954,6 @@ func sync_atomic_runtime_procUnpin() {
procUnpin()
}
//go:linkname internal_weak_runtime_procPin internal/weak.runtime_procPin
//go:nosplit
func internal_weak_runtime_procPin() int {
return procPin()
}
//go:linkname internal_weak_runtime_procUnpin internal/weak.runtime_procUnpin
//go:nosplit
func internal_weak_runtime_procUnpin() {
procUnpin()
}
// Active spinning for sync.Mutex.
//
//go:linkname sync_runtime_canSpin sync.runtime_canSpin