diff options
| author | Austin Clements <austin@google.com> | 2019-04-11 16:48:05 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2019-04-12 13:48:56 +0000 |
| commit | f448c212a101f4fcf54a694e4a1cfd3459635bcb (patch) | |
| tree | d24c3983516ce767771dd1feef56ccc624fd6a08 /src/runtime/proc.go | |
| parent | df1cdbf7933ae03d716e4ce657f15d8e77309da5 (diff) | |
| download | go-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.go | 7 |
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 |
