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

runtime: remove unused code

Change-Id: I28d7ed215c3c24b9cccda810129c2a0a486f945d
This commit is contained in:
qiulaidongfeng 2024-04-24 19:51:54 +08:00
parent 7f76c00fc5
commit 6b000e7314

View File

@ -6945,18 +6945,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