On 1/4/11 5:16 AM, John Baldwin wrote:
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.

yes but it IS good documentation when reading the code.

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


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to