aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2019-04-11 16:48:05 -0400
committerAustin Clements <austin@google.com>2019-04-12 13:48:56 +0000
commitf448c212a101f4fcf54a694e4a1cfd3459635bcb (patch)
treed24c3983516ce767771dd1feef56ccc624fd6a08 /src/runtime/proc.go
parentdf1cdbf7933ae03d716e4ce657f15d8e77309da5 (diff)
downloadgo-f448c212a101f4fcf54a694e4a1cfd3459635bcb.tar.xz
runtime: delete unused isscanstatus function
Change-Id: I693250e980cc60ea151736b42ac6b1426ab801b3 Reviewed-on: https://go-review.googlesource.com/c/go/+/171765 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 1e3c53826c..16794e1ab0 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -692,13 +692,6 @@ func freezetheworld() {
usleep(1000)
}
-func isscanstatus(status uint32) bool {
- if status == _Gscan {
- throw("isscanstatus: Bad status Gscan")
- }
- return status&_Gscan == _Gscan
-}
-
// All reads and writes of g's status go through readgstatus, casgstatus
// castogscanstatus, casfrom_Gscanstatus.
//go:nosplit