소스 검색

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{}
-}