diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2019-05-05 15:49:47 +0200 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2019-05-05 15:17:52 +0000 |
| commit | b41eee4c8a2fe692c1d9fb46972b9047b5dc02b7 (patch) | |
| tree | c012a60700f72e4bf7795ed358092ecfd2f34b7e /src/syscall | |
| parent | ba9bc8e5fefcc62216f7bf2f85923d226e8906e2 (diff) | |
| download | go-b41eee4c8a2fe692c1d9fb46972b9047b5dc02b7.tar.xz | |
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 <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
| -rw-r--r-- | src/syscall/syscall_unix.go | 7 |
1 files changed, 2 insertions, 5 deletions
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) |
