From: cuiweixie Date: Fri, 8 Aug 2025 07:23:33 +0000 (+0000) Subject: internal/runtime/maps: remove unused var bitsetDeleted X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=768c51e368e05739854c1413fdf7fd129d01e482;p=gostls13.git internal/runtime/maps: remove unused var bitsetDeleted 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 Reviewed-by: Jorropo LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Pratt Auto-Submit: Jorropo --- diff --git a/src/internal/runtime/maps/group.go b/src/internal/runtime/maps/group.go index b23ff76f98..c8d38ba27c 100644 --- a/src/internal/runtime/maps/group.go +++ b/src/internal/runtime/maps/group.go @@ -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.