mirror of
https://github.com/golang/go.git
synced 2025-05-29 03:11:26 +00:00
testing: delete unused stopAlarm()
The function call was removed in: ead08e91f6468ab1c35c250ec487935103c580f6 Change-Id: I78fe563c9ea4554811c74130533d2186a65d3033 Reviewed-on: https://go-review.googlesource.com/35532 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
0ce3ce010c
commit
ed8c62b7fb
@ -1027,13 +1027,6 @@ func startAlarm() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// stopAlarm turns off the alarm.
|
|
||||||
func stopAlarm() {
|
|
||||||
if *timeout > 0 {
|
|
||||||
timer.Stop()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func parseCpuList() {
|
func parseCpuList() {
|
||||||
for _, val := range strings.Split(*cpuListStr, ",") {
|
for _, val := range strings.Split(*cpuListStr, ",") {
|
||||||
val = strings.TrimSpace(val)
|
val = strings.TrimSpace(val)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user