]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: delete unused isscanstatus function
authorAustin Clements <austin@google.com>
Thu, 11 Apr 2019 20:48:05 +0000 (16:48 -0400)
committerAustin Clements <austin@google.com>
Fri, 12 Apr 2019 13:48:56 +0000 (13:48 +0000)
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>

src/runtime/proc.go

index 1e3c53826c8eb8ea06b6e70b282ecbcd3bc05429..16794e1ab05f74af577db91d36b54f03c7497038 100644 (file)
@@ -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