aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_plan9_amd64.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-05-08 11:44:15 -0400
committerRuss Cox <rsc@golang.org>2019-05-09 21:13:18 +0000
commit6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4 (patch)
treecfa786127653271c1b4d3aff1c4d5cf0a2c76696 /src/runtime/sys_plan9_amd64.s
parentcd03664f82a53dbe20d0b828189158ba3863039c (diff)
downloadgo-6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4.tar.gz
go-6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4.zip
runtime: fix vet complaints for linux/386
Working toward making the tree vet-safe instead of having so many exceptions in cmd/vet/all/whitelist. This CL makes "GOOS=linux GOARCH=386 go vet -unsafeptr=false runtime" happy, while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too. For #31916. Change-Id: I3e5586a7ff6e359357350d0602c2259493280ded Reviewed-on: https://go-review.googlesource.com/c/go/+/176099 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/sys_plan9_amd64.s')
-rw-r--r--src/runtime/sys_plan9_amd64.s4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/sys_plan9_amd64.s b/src/runtime/sys_plan9_amd64.s
index 4ef4aab376..a73c33f104 100644
--- a/src/runtime/sys_plan9_amd64.s
+++ b/src/runtime/sys_plan9_amd64.s
@@ -6,10 +6,6 @@
#include "go_tls.h"
#include "textflag.h"
-// setldt(int entry, int address, int limit)
-TEXT runtime·setldt(SB),NOSPLIT,$0
- RET
-
TEXT runtime·open(SB),NOSPLIT,$0
MOVQ $14, BP
SYSCALL