lint(systemd): remove dead code

This commit is contained in:
Steven Allen 2019-09-25 15:25:13 -07:00
parent 87f2e38017
commit 37c19cc630

View File

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