From 20815c9f90a8e50a1022a8d5045543b2a9e224c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Mon, 7 Oct 2024 13:28:21 +0200 Subject: [PATCH] Remove unused function --- client/internal/wgproxy/ebpf/wrapper.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/internal/wgproxy/ebpf/wrapper.go b/client/internal/wgproxy/ebpf/wrapper.go index b1db0b2db..ec1162263 100644 --- a/client/internal/wgproxy/ebpf/wrapper.go +++ b/client/internal/wgproxy/ebpf/wrapper.go @@ -122,9 +122,3 @@ func (p *ProxyWrapper) readFromRemote(ctx context.Context, buf []byte) (int, err } return n, nil } - -func (p *ProxyWrapper) isPaused() bool { - p.pausedMu.Lock() - defer p.pausedMu.Unlock() - return p.paused -}