svn commit: r216954 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Tue Jan 4 13:16:29 UTC 2011


Author: jhb
Date: Tue Jan  4 13:16:28 2011
New Revision: 216954
URL: http://svn.freebsd.org/changeset/base/216954

Log:
  kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't
  needed for lint.
  
  Submitted by:	bde

Modified:
  head/sys/kern/kern_kthread.c

Modified: head/sys/kern/kern_kthread.c
==============================================================================
--- head/sys/kern/kern_kthread.c	Tue Jan  4 13:02:52 2011	(r216953)
+++ head/sys/kern/kern_kthread.c	Tue Jan  4 13:16:28 2011	(r216954)
@@ -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);


More information about the svn-src-head mailing list