]> Cypherpunks repositories - gostls13.git/commit
internal/bisect: replace atomicPointerDedup to simplify the code
authorapocelipes <seve3r@outlook.com>
Thu, 14 Mar 2024 12:55:10 +0000 (12:55 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 15 Mar 2024 15:59:51 +0000 (15:59 +0000)
commit49204af37efb819bf22f720f27adadfb9b6238fc
tree0c6c4c4605af654638b628885b6e5c255196b6c5
parentc764d56ff1c8810b294c0a72a813858f33c75185
internal/bisect: replace atomicPointerDedup to simplify the code

"atomicPointerDedup" is a redundancy of "atomic.Pointer".

Since Go 1.22 now requires the final point release of Go 1.20  or
later for bootstrap, Go 1.19's atomic.Pointer can be used
without problems.

atomicPointerDedup is unnecessary and we can remove it now.

Change-Id: I0a65ad0b6649cecb73d58dc39c5fd736390d5fa5
GitHub-Last-Rev: 6c6e9421fbdf34c2d4b3ea21359f847ccf9a34cd
GitHub-Pull-Request: golang/go#65987
Reviewed-on: https://go-review.googlesource.com/c/go/+/567656
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/bisect/bisect.go