Skip to content

Commit

Permalink
sync: remove unused const
Browse files Browse the repository at this point in the history
Change-Id: I4382b5317cf7f39a48005516ff6d437883c6fd07
Reviewed-on: https://go-review.googlesource.com/c/go/+/456495
Reviewed-by: Dominik Honnef <dominik@honnef.co>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Changkun Ou <mail@changkun.de>
  • Loading branch information
changkun authored and Bryan Mills committed Dec 12, 2022
1 parent 6b895d9 commit 6f7a95d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sync/map_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ func BenchmarkCompareAndSwapNoExistingKey(b *testing.B) {
}

func BenchmarkCompareAndSwapValueNotEqual(b *testing.B) {
const n = 1 << 10
benchMap(b, bench{
setup: func(_ *testing.B, m mapInterface) {
m.Store(0, 0)
Expand Down

0 comments on commit 6f7a95d

Please sign in to comment.