diff options
| author | cuiweixie <cuiweixie@gmail.com> | 2025-08-08 07:23:33 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-08-08 07:02:00 -0700 |
| commit | 768c51e368e05739854c1413fdf7fd129d01e482 (patch) | |
| tree | 6a56f0d98a9f979dc4543606341600f0c39e6bdb /src | |
| parent | b3388569a187ea6be48caa41265f2b4dbc2fdfd3 (diff) | |
| download | go-768c51e368e05739854c1413fdf7fd129d01e482.tar.xz | |
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 <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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/internal/runtime/maps/group.go | 7 |
1 files changed, 3 insertions, 4 deletions
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. |
