kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't

needed for lint.

Submitted by:	bde
This commit is contained in:
John Baldwin 2011-01-04 13:16:28 +00:00
parent fa1f169d8c
commit a5a07ded82

View File

@ -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);