From 37c19cc630ffaa860cd540dc658d17ff162dc64e Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 25 Sep 2019 15:25:13 -0700 Subject: [PATCH] lint(systemd): remove dead code --- cmd/ipfs/sockets/sockets_linux.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/ipfs/sockets/sockets_linux.go b/cmd/ipfs/sockets/sockets_linux.go index f38219a23..54e0ce952 100644 --- a/cmd/ipfs/sockets/sockets_linux.go +++ b/cmd/ipfs/sockets/sockets_linux.go @@ -3,7 +3,6 @@ package sockets import ( - "net" "sync" activation "github.com/coreos/go-systemd/activation" @@ -45,11 +44,6 @@ func initSockets() { } } -func mapListeners(nls []net.Listener) ([]manet.Listener, error) { - mls := make([]manet.Listener, len(nls)) - return mls, nil -} - // TakeSockets takes the sockets associated with the given name. func TakeSockets(name string) ([]manet.Listener, error) { socketsMu.Lock()