Skip to content

Commit 768c51e

Browse files
cuiweixiegopherbot
authored andcommitted
internal/runtime/maps: remove unused var bitsetDeleted
Change-Id: Ie9e5c2627dc9a7ae1e8186f2c4d0a7a1955ec707 GitHub-Last-Rev: 4164192 GitHub-Pull-Request: #74942 Reviewed-on: https://go-review.googlesource.com/c/go/+/694255 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Jorropo <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Auto-Submit: Jorropo <[email protected]>
1 parent b338856 commit 768c51e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/internal/runtime/maps/group.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ const (
2222
ctrlEmpty ctrl = 0b10000000
2323
ctrlDeleted ctrl = 0b11111110
2424

25-
bitsetLSB = 0x0101010101010101
26-
bitsetMSB = 0x8080808080808080
27-
bitsetEmpty = bitsetLSB * uint64(ctrlEmpty)
28-
bitsetDeleted = bitsetLSB * uint64(ctrlDeleted)
25+
bitsetLSB = 0x0101010101010101
26+
bitsetMSB = 0x8080808080808080
27+
bitsetEmpty = bitsetLSB * uint64(ctrlEmpty)
2928
)
3029

3130
// bitset represents a set of slots within a group.

0 commit comments

Comments
 (0)