瀏覽代碼

remove unused code

Darien Raymond 8 年之前
父節點
當前提交
98b5b415f0
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      common/signal/timer.go

+ 0 - 8
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{}
-}