1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00

Remove unused mutex field (#1440)

This commit is contained in:
Mura Li 2017-04-04 16:54:02 +08:00 committed by Lunny Xiao
parent 93c25c9a35
commit b746757209

View File

@ -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