From: Michael Anthony Knyszek Date: Wed, 16 Jun 2021 23:29:40 +0000 (+0000) Subject: [dev.typeparams] internal/reflectlite: remove unused ptrSize X-Git-Tag: go1.18beta1~1818^2^2~319 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9f50d9a0b4;p=gostls13.git [dev.typeparams] internal/reflectlite: remove unused ptrSize Change-Id: Ia0da5e5d1e8d20327690cb53c9df067401f3428c Reviewed-on: https://go-review.googlesource.com/c/go/+/328812 Trust: Michael Knyszek Run-TryBot: Michael Knyszek TryBot-Result: Go Bot Reviewed-by: Matthew Dempsky --- diff --git a/src/internal/reflectlite/value.go b/src/internal/reflectlite/value.go index 86dfcb5c36..136273842c 100644 --- a/src/internal/reflectlite/value.go +++ b/src/internal/reflectlite/value.go @@ -11,8 +11,6 @@ import ( "unsafe" ) -const ptrSize = 4 << (^uintptr(0) >> 63) // unsafe.Sizeof(uintptr(0)) but an ideal const - // Value is the reflection interface to a Go value. // // Not all methods apply to all kinds of values. Restrictions,