mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
net/tstun: remove unnecessary break statement
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
61e411344f
commit
42c8b9ad53
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user