diff options
author | Mura Li <typeless@users.noreply.github.com> | 2017-04-04 16:54:02 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-04 01:54:02 -0700 |
commit | b746757209bad0a8a1800e8a768ce1a22a22414b (patch) | |
tree | a11d6247202bbf80b174c28f9bf1eeecf95c0d69 | |
parent | 93c25c9a35141a1bb52966c5256ad7020e82ab79 (diff) | |
download | gitea-b746757209bad0a8a1800e8a768ce1a22a22414b.tar.gz gitea-b746757209bad0a8a1800e8a768ce1a22a22414b.zip |
Remove unused mutex field (#1440)
-rw-r--r-- | modules/log/log.go | 2 |
1 files changed, 0 insertions, 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 |