diff --git a/src/sync/atomic/atomic_test.go b/src/sync/atomic/atomic_test.go index 17baccb468..753def62b5 100644 --- a/src/sync/atomic/atomic_test.go +++ b/src/sync/atomic/atomic_test.go @@ -772,10 +772,8 @@ func init() { if uintptr(v) != 0 { // 64-bit system; clear uintptr tests delete(hammer32, "SwapUintptr") - delete(hammer32, "SwapPointer") delete(hammer32, "AddUintptr") delete(hammer32, "CompareAndSwapUintptr") - delete(hammer32, "CompareAndSwapPointer") } } @@ -923,10 +921,8 @@ func init() { if uintptr(v) == 0 { // 32-bit system; clear uintptr tests delete(hammer64, "SwapUintptr") - delete(hammer64, "SwapPointer") delete(hammer64, "AddUintptr") delete(hammer64, "CompareAndSwapUintptr") - delete(hammer64, "CompareAndSwapPointer") } }