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:
parent
7f76c00fc5
commit
6b000e7314
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user