aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2017-04-04 16:54:02 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-04 01:54:02 -0700
commitb746757209bad0a8a1800e8a768ce1a22a22414b (patch)
treea11d6247202bbf80b174c28f9bf1eeecf95c0d69 /modules
parent93c25c9a35141a1bb52966c5256ad7020e82ab79 (diff)
downloadgitea-b746757209bad0a8a1800e8a768ce1a22a22414b.tar.gz
gitea-b746757209bad0a8a1800e8a768ce1a22a22414b.zip
Remove unused mutex field (#1440)
Diffstat (limited to 'modules')
-rw-r--r--modules/log/log.go2
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