all: Dead code cleanup

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

No files matched your search

-4
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()