summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2012-09-25 21:19:17 +0000
committeremaste <emaste@FreeBSD.org>2012-09-25 21:19:17 +0000
commit25f7973cf8d04f031bc1025030e0a63812538472 (patch)
tree63029d670fa2279f602965eee7e62aec12b51eb6 /sys/net/if_tun.c
parent8e4b011dc562ea92fc1144b9fd2a52c1e78c5fd6 (diff)
downloadFreeBSD-src-25f7973cf8d04f031bc1025030e0a63812538472.zip
FreeBSD-src-25f7973cf8d04f031bc1025030e0a63812538472.tar.gz
Remove an incorrect comment
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index f8eda08..74e1d22 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);
OpenPOWER on IntegriCloud