Skip to content

Commit

Permalink
runtime: remove unused code
Browse files Browse the repository at this point in the history
Change-Id: Ifb9864704f55e27adfa5c21452fed5a243468d13
GitHub-Last-Rev: 6b000e7
GitHub-Pull-Request: #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>
  • Loading branch information
qiulaidongfeng authored and randall77 committed May 13, 2024
1 parent 07fc591 commit 0eaf8d9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/runtime/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0eaf8d9

Please sign in to comment.