From 64a19041360eb734b3b0c6a1f95428c9f263aff1 Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Thu, 4 Nov 2021 08:15:10 -0700 Subject: [PATCH] Remove unused GlobalServiceDoneCh (#13578) --- cmd/service.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/service.go b/cmd/service.go index 376f503bc..715c60bed 100644 --- a/cmd/service.go +++ b/cmd/service.go @@ -37,9 +37,6 @@ const ( // Global service signal channel. var globalServiceSignalCh chan serviceSignal -// GlobalServiceDoneCh - Global service done channel. -var GlobalServiceDoneCh <-chan struct{} - // GlobalContext context that is canceled when server is requested to shut down. var GlobalContext context.Context @@ -48,7 +45,6 @@ var cancelGlobalContext context.CancelFunc func initGlobalContext() { GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) - GlobalServiceDoneCh = GlobalContext.Done() globalServiceSignalCh = make(chan serviceSignal) }