From 250dfc9016efd98e3f98d1494016b5d0e3d26f88 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 10 Feb 2020 23:34:03 -0800 Subject: [PATCH] logtail: remove unused struct fields. Signed-off-by: David Anderson --- logtail/logtail.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/logtail/logtail.go b/logtail/logtail.go index 41dae40fa..1991d11bf 100644 --- a/logtail/logtail.go +++ b/logtail/logtail.go @@ -18,7 +18,6 @@ import ( "net/http" "os" "strconv" - "sync" "time" "tailscale.com/logtail/backoff" @@ -141,9 +140,6 @@ type logger struct { shutdownStart chan struct{} // closed when shutdown begins shutdownDone chan struct{} // closd when shutdown complete - - dropMu sync.Mutex - dropCount int } func (l *logger) Shutdown(ctx context.Context) error {