@cryptotaxi247 / kubo / commits / 37c19cc63

lint(systemd): remove dead code

Steven Allen committed Sep 25, 2019 at 15:25 UTC 37c19cc630ffaa860cd540dc658d17ff162dc64e
1 file changed -6
cmd/ipfs/sockets/sockets_linux.go
-6
@@ -3,7 +3,6 @@
3 package sockets
4
5 import (
6 - "net"
6 "sync"
7
8 activation "github.com/coreos/go-systemd/activation"
@@ -45,11 +44,6 @@ func initSockets() {
44 }
45 }
46
48 -func mapListeners(nls []net.Listener) ([]manet.Listener, error) {
49 - mls := make([]manet.Listener, len(nls))
50 - return mls, nil
51 -}
52 -
47 // TakeSockets takes the sockets associated with the given name.
48 func TakeSockets(name string) ([]manet.Listener, error) {
49 socketsMu.Lock()