net/tstun: remove unnecessary break statement
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>pull/1846/head
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