From 42c8b9ad5393f8fc2a3fbc8c15cf6912ab6b210d Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 3 May 2021 13:01:36 -0700 Subject: [PATCH] net/tstun: remove unnecessary break statement Signed-off-by: Josh Bleecher Snyder --- net/tstun/ifstatus_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/net/tstun/ifstatus_windows.go b/net/tstun/ifstatus_windows.go index 840e50f4d..dc0e4a24d 100644 --- a/net/tstun/ifstatus_windows.go +++ b/net/tstun/ifstatus_windows.go @@ -93,7 +93,6 @@ func waitInterfaceUp(iface tun.Device, timeout time.Duration, logf logger.Logf) iw.logf("TUN interface is up after %v", time.Since(t0)) return nil case <-ticker.C: - break } if iw.isUp() {