From: Tobias Klauser Date: Sun, 5 May 2019 13:49:47 +0000 (+0200) Subject: syscall: remove unused {dragonfly,illumos,solaris}64Bit constants X-Git-Tag: go1.13beta1~415 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b41eee4c8a2fe692c1d9fb46972b9047b5dc02b7;p=gostls13.git syscall: remove unused {dragonfly,illumos,solaris}64Bit constants These are unused since CL 153837. illumos64Bit was added by CL 174457 but was never used. Change-Id: I34a1bd41cf70f8a07e57f93a71de3c6034fcaf7b Reviewed-on: https://go-review.googlesource.com/c/go/+/175358 Run-TryBot: Tobias Klauser Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/syscall/syscall_unix.go b/src/syscall/syscall_unix.go index faaa432136..1b66e3bb11 100644 --- a/src/syscall/syscall_unix.go +++ b/src/syscall/syscall_unix.go @@ -21,11 +21,8 @@ var ( ) const ( - darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8 - dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8 - netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4 - solaris64Bit = runtime.GOOS == "solaris" && sizeofPtr == 8 - illumos64Bit = runtime.GOOS == "illumos" && sizeofPtr == 8 + darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8 + netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4 ) func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)