summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kthread.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-04 13:16:28 +0000
committerjhb <jhb@FreeBSD.org>2011-01-04 13:16:28 +0000
commitdd9fb278176914b7e7a021a78b226ce6bee2387d (patch)
tree11aa5ea09d51c7e5174834d695ad5c7f92ef8817 /sys/kern/kern_kthread.c
parent0a9e6b919f991f7eb3bfdb49324fd46a7429b918 (diff)
downloadFreeBSD-src-dd9fb278176914b7e7a021a78b226ce6bee2387d.zip
FreeBSD-src-dd9fb278176914b7e7a021a78b226ce6bee2387d.tar.gz
kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't
needed for lint. Submitted by: bde
Diffstat (limited to 'sys/kern/kern_kthread.c')
-rw-r--r--sys/kern/kern_kthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_kthread.c b/sys/kern/kern_kthread.c
index 9762d9d..6794200 100644
--- a/sys/kern/kern_kthread.c
+++ b/sys/kern/kern_kthread.c
@@ -329,7 +329,6 @@ kthread_exit(void)
PROC_UNLOCK(p);
rw_wunlock(&tidhash_lock);
kproc_exit(0);
- /* NOTREACHED */
}
LIST_REMOVE(curthread, td_hash);
rw_wunlock(&tidhash_lock);
OpenPOWER on IntegriCloud