From 6f69fe8ad7c0a7dcc6493b292b4deff514962f9b Mon Sep 17 00:00:00 2001 From: James Tucker Date: Tue, 24 Oct 2023 10:24:08 -0700 Subject: [PATCH] wgnengine: remove unused field in userspaceEngine Updates #cleanup Signed-off-by: James Tucker --- wgengine/userspace.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wgengine/userspace.go b/wgengine/userspace.go index 071b71c91..a49526e3b 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -123,8 +123,7 @@ type userspaceEngine struct { trimmedNodes map[key.NodePublic]bool // set of node keys of peers currently excluded from wireguard config sentActivityAt map[netip.Addr]*mono.Time // value is accessed atomically destIPActivityFuncs map[netip.Addr]func() - statusBufioReader *bufio.Reader // reusable for UAPI - lastStatusPollTime mono.Time // last time we polled the engine status + lastStatusPollTime mono.Time // last time we polled the engine status mu sync.Mutex // guards following; see lock order comment below netMap *netmap.NetworkMap // or nil