From ed8c62b7fb47b717dc2adc9f6d0c90c924c67712 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Sun, 22 Jan 2017 17:56:03 +0200 Subject: [PATCH] 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 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/testing/testing.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/testing/testing.go b/src/testing/testing.go index 5efbc244fe..b4dd40f36b 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -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) -- 2.48.1