From owner-svn-src-all@FreeBSD.ORG Tue Jan 4 13:16:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0628106564A; Tue, 4 Jan 2011 13:16:28 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D01308FC0C; Tue, 4 Jan 2011 13:16:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p04DGSWV037044; Tue, 4 Jan 2011 13:16:28 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p04DGSo6037042; Tue, 4 Jan 2011 13:16:28 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201101041316.p04DGSo6037042@svn.freebsd.org> From: John Baldwin Date: Tue, 4 Jan 2011 13:16:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216954 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 13:16:29 -0000 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);