Skip to content

Commit a4c48d6

Browse files
committed
sync/atomic: remove panic64
The func has been unused since https://golang.org/cl/93637 in 2018. Change-Id: I1cab6f265aa5058ac080fd7c7cbf0fe85370f073 Reviewed-on: https://go-review.googlesource.com/c/go/+/224077 Run-TryBot: Daniel Martí <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Matt Layher <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent cbd421f commit a4c48d6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sync/atomic/doc.go

-5
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,3 @@ func StoreUintptr(addr *uintptr, val uintptr)
143143

144144
// StorePointer atomically stores val into *addr.
145145
func StorePointer(addr *unsafe.Pointer, val unsafe.Pointer)
146-
147-
// Helper for ARM. Linker will discard on other systems
148-
func panic64() {
149-
panic("sync/atomic: broken 64-bit atomic operations (buggy QEMU)")
150-
}

0 commit comments

Comments
 (0)