From 98b5b415f0c77d56cf48904faf8405b2ca8a3170 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 28 Apr 2017 22:42:43 +0200 Subject: [PATCH] remove unused code --- common/signal/timer.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/signal/timer.go b/common/signal/timer.go index deb060163..7b92e6100 100644 --- a/common/signal/timer.go +++ b/common/signal/timer.go @@ -52,11 +52,3 @@ func CancelAfterInactivity(ctx context.Context, timeout time.Duration) (context. go timer.run() return ctx, timer } - -type noOpActivityTimer struct{} - -func (noOpActivityTimer) Update() {} - -func BackgroundTimer() ActivityTimer { - return noOpActivityTimer{} -}