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