mirror of
https://github.com/golang/go
synced 2024-11-17 14:04:48 -07:00
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>
This commit is contained in:
parent
df1cdbf793
commit
f448c212a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user