Author: kib
Date: Wed Aug  3 10:23:42 2016
New Revision: 303709
URL: https://svnweb.freebsd.org/changeset/base/303709

Log:
  MFC r303393:
  Remove empty initializer for the once facility.

Modified:
  stable/10/lib/libthr/thread/thr_init.c
  stable/10/lib/libthr/thread/thr_once.c
  stable/10/lib/libthr/thread/thr_private.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libthr/thread/thr_init.c
==============================================================================
--- stable/10/lib/libthr/thread/thr_init.c      Wed Aug  3 10:18:52 2016        
(r303708)
+++ stable/10/lib/libthr/thread/thr_init.c      Wed Aug  3 10:23:42 2016        
(r303709)
@@ -438,7 +438,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/10/lib/libthr/thread/thr_once.c
==============================================================================
--- stable/10/lib/libthr/thread/thr_once.c      Wed Aug  3 10:18:52 2016        
(r303708)
+++ stable/10/lib/libthr/thread/thr_once.c      Wed Aug  3 10:23:42 2016        
(r303709)
@@ -92,8 +92,3 @@ _pthread_once(pthread_once_t *once_contr
        _thr_umtx_wake(&once_control->state, INT_MAX, 0);
        return (0);
 }
-
-void
-_thr_once_init()
-{
-}

Modified: stable/10/lib/libthr/thread/thr_private.h
==============================================================================
--- stable/10/lib/libthr/thread/thr_private.h   Wed Aug  3 10:18:52 2016        
(r303708)
+++ stable/10/lib/libthr/thread/thr_private.h   Wed Aug  3 10:23:42 2016        
(r303709)
@@ -773,7 +773,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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to