all: Dead code cleanup

This commit is contained in:
Audrius Butkevicius
2016-04-09 01:10:31 +00:00
committed by Jakob Borg
parent 393798098c
commit 2eb8a9ef56
5 changed files with 1 additions and 44 deletions

View File

@@ -304,10 +304,6 @@ func (info ConnectionInfo) MarshalJSON() ([]byte, error) {
// ConnectionStats returns a map with connection statistics for each device.
func (m *Model) ConnectionStats() map[string]interface{} {
type remoteAddrer interface {
RemoteAddr() net.Addr
}
m.pmut.RLock()
m.fmut.RLock()