From: Austin Clements Date: Thu, 11 Apr 2019 20:48:05 +0000 (-0400) Subject: runtime: delete unused isscanstatus function X-Git-Tag: go1.13beta1~722 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f448c212a101f4fcf54a694e4a1cfd3459635bcb;p=gostls13.git runtime: delete unused isscanstatus function Change-Id: I693250e980cc60ea151736b42ac6b1426ab801b3 Reviewed-on: https://go-review.googlesource.com/c/go/+/171765 Run-TryBot: Austin Clements Reviewed-by: Michael Knyszek TryBot-Result: Gobot Gobot --- 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