From b746757209bad0a8a1800e8a768ce1a22a22414b Mon Sep 17 00:00:00 2001 From: Mura Li Date: Tue, 4 Apr 2017 16:54:02 +0800 Subject: [PATCH] Remove unused mutex field (#1440) --- modules/log/log.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/log/log.go b/modules/log/log.go index 24ac3f652f..36038d3d0c 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -11,7 +11,6 @@ import ( "path/filepath" "runtime" "strings" - "sync" "golang.org/x/sync/syncmap" ) @@ -177,7 +176,6 @@ type logMsg struct { // it can contain several providers and log message into all providers. type Logger struct { adapter string - lock sync.Mutex level int msg chan *logMsg outputs syncmap.Map