Browse Source

net/tstun: remove unnecessary break statement

Signed-off-by: Josh Bleecher Snyder <[email protected]>
Josh Bleecher Snyder 4 years ago
parent
commit
42c8b9ad53
1 changed files with 0 additions and 1 deletions
  1. 0 1
      net/tstun/ifstatus_windows.go

+ 0 - 1
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() {