From 737151ea4a62ea7126478d481f9cd50b00262397 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 3 May 2021 13:04:15 -0700 Subject: [PATCH] safesocket: delete unused function Signed-off-by: Josh Bleecher Snyder --- safesocket/pipe_windows.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/safesocket/pipe_windows.go b/safesocket/pipe_windows.go index 2b28d5570..d1c69d08d 100644 --- a/safesocket/pipe_windows.go +++ b/safesocket/pipe_windows.go @@ -11,10 +11,6 @@ "syscall" ) -func path(vendor, name string, port uint16) string { - return fmt.Sprintf("127.0.0.1:%v", port) -} - func connect(path string, port uint16) (net.Conn, error) { pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port)) if err != nil {