]> Cypherpunks repositories - gostls13.git/commitdiff
testing: delete unused stopAlarm()
authorKyrylo Silin <silin@kyrylo.org>
Sun, 22 Jan 2017 15:56:03 +0000 (17:56 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 1 Feb 2017 21:12:01 +0000 (21:12 +0000)
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>

src/testing/testing.go

index 5efbc244fec961a006a94ccc1031d7d7713cba3d..b4dd40f36b2114ede7de292f182732046ac95677 100644 (file)
@@ -1027,13 +1027,6 @@ func startAlarm() {
        }
 }
 
-// stopAlarm turns off the alarm.
-func stopAlarm() {
-       if *timeout > 0 {
-               timer.Stop()
-       }
-}
-
 func parseCpuList() {
        for _, val := range strings.Split(*cpuListStr, ",") {
                val = strings.TrimSpace(val)