From owner-svn-src-all@freebsd.org Wed Aug 3 10:18:54 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21692BABFBE; Wed, 3 Aug 2016 10:18:54 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8BDF18DD; Wed, 3 Aug 2016 10:18:53 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u73AIql2015535; Wed, 3 Aug 2016 10:18:52 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u73AIqv1015532; Wed, 3 Aug 2016 10:18:52 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201608031018.u73AIqv1015532@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Wed, 3 Aug 2016 10:18:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r303708 - stable/11/lib/libthr/thread X-SVN-Group: stable-11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 10:18:54 -0000 Author: kib Date: Wed Aug 3 10:18:52 2016 New Revision: 303708 URL: https://svnweb.freebsd.org/changeset/base/303708 Log: MFC r303393: Remove empty initializer for the once facility. Approved by: re (gjb) Modified: stable/11/lib/libthr/thread/thr_init.c stable/11/lib/libthr/thread/thr_once.c stable/11/lib/libthr/thread/thr_private.h Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/libthr/thread/thr_init.c ============================================================================== --- stable/11/lib/libthr/thread/thr_init.c Wed Aug 3 09:15:10 2016 (r303707) +++ stable/11/lib/libthr/thread/thr_init.c Wed Aug 3 10:18:52 2016 (r303708) @@ -447,7 +447,6 @@ init_private(void) _thr_urwlock_init(&_thr_atfork_lock); _thr_umutex_init(&_thr_event_lock); _thr_umutex_init(&_suspend_all_lock); - _thr_once_init(); _thr_spinlock_init(); _thr_list_init(); _thr_wake_addr_init(); Modified: stable/11/lib/libthr/thread/thr_once.c ============================================================================== --- stable/11/lib/libthr/thread/thr_once.c Wed Aug 3 09:15:10 2016 (r303707) +++ stable/11/lib/libthr/thread/thr_once.c Wed Aug 3 10:18:52 2016 (r303708) @@ -101,8 +101,3 @@ _pthread_once(pthread_once_t *once_contr _thr_umtx_wake(&once_control->state, INT_MAX, 0); return (0); } - -void -_thr_once_init(void) -{ -} Modified: stable/11/lib/libthr/thread/thr_private.h ============================================================================== --- stable/11/lib/libthr/thread/thr_private.h Wed Aug 3 09:15:10 2016 (r303707) +++ stable/11/lib/libthr/thread/thr_private.h Wed Aug 3 10:18:52 2016 (r303708) @@ -811,7 +811,6 @@ void _thr_link(struct pthread *, struct void _thr_unlink(struct pthread *, struct pthread *) __hidden; void _thr_assert_lock_level(void) __hidden __dead2; void _thr_ast(struct pthread *) __hidden; -void _thr_once_init(void) __hidden; void _thr_report_creation(struct pthread *curthread, struct pthread *newthread) __hidden; void _thr_report_death(struct pthread *curthread) __hidden;