Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2011 13:16:28 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216954 - head/sys/kern
Message-ID:  <201101041316.p04DGSo6037042@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101041316.p04DGSo6037042>