]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused unique.runtime_blockUntilEmptyFinalizerQueue
authorCherry Mui <cherryyz@google.com>
Fri, 13 Jun 2025 15:39:00 +0000 (11:39 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 13 Jun 2025 16:06:39 +0000 (09:06 -0700)
It was added in CL 650256, and then the use in the unique package
was removed in CL 650697.

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

index 44db1fb3562f6bbdbd7494d208bce5f219c0720a..2d4a54c9332022903314dd8788be462edd4bf524 100644 (file)
@@ -338,11 +338,6 @@ func blockUntilEmptyFinalizerQueue(timeout int64) bool {
        return false
 }
 
-//go:linkname unique_runtime_blockUntilEmptyFinalizerQueue unique.runtime_blockUntilEmptyFinalizerQueue
-func unique_runtime_blockUntilEmptyFinalizerQueue(timeout int64) bool {
-       return blockUntilEmptyFinalizerQueue(timeout)
-}
-
 // SetFinalizer sets the finalizer associated with obj to the provided
 // finalizer function. When the garbage collector finds an unreachable block
 // with an associated finalizer, it clears the association and runs