diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index f8eda08dd6d9..74e1d223a3f7 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -246,7 +246,6 @@ tun_destroy(struct tun_softc *tp) { struct cdev *dev; - /* Unlocked read. */ mtx_lock(&tp->tun_mtx); if ((tp->tun_flags & TUN_OPEN) != 0) cv_wait_unlock(&tp->tun_cv, &tp->tun_mtx);