net/tstun: remove unnecessary break statement

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Josh Bleecher Snyder 2021-05-03 13:01:36 -07:00
parent 61e411344f
commit 42c8b9ad53

View File

@ -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)) iw.logf("TUN interface is up after %v", time.Since(t0))
return nil return nil
case <-ticker.C: case <-ticker.C:
break
} }
if iw.isUp() { if iw.isUp() {