]> Cypherpunks repositories - gostls13.git/commitdiff
internal/runtime/maps: remove unused var bitsetDeleted
authorcuiweixie <cuiweixie@gmail.com>
Fri, 8 Aug 2025 07:23:33 +0000 (07:23 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 8 Aug 2025 14:02:00 +0000 (07:02 -0700)
Change-Id: Ie9e5c2627dc9a7ae1e8186f2c4d0a7a1955ec707
GitHub-Last-Rev: 416419248e312cb356a99b62642a9e7f88c26923
GitHub-Pull-Request: golang/go#74942
Reviewed-on: https://go-review.googlesource.com/c/go/+/694255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>

src/internal/runtime/maps/group.go

index b23ff76f9831469c69d4538277516ebab1de2704..c8d38ba27c8c5d1ba5aa580010a4838d5301df11 100644 (file)
@@ -22,10 +22,9 @@ const (
        ctrlEmpty   ctrl = 0b10000000
        ctrlDeleted ctrl = 0b11111110
 
-       bitsetLSB     = 0x0101010101010101
-       bitsetMSB     = 0x8080808080808080
-       bitsetEmpty   = bitsetLSB * uint64(ctrlEmpty)
-       bitsetDeleted = bitsetLSB * uint64(ctrlDeleted)
+       bitsetLSB   = 0x0101010101010101
+       bitsetMSB   = 0x8080808080808080
+       bitsetEmpty = bitsetLSB * uint64(ctrlEmpty)
 )
 
 // bitset represents a set of slots within a group.