svn commit: r297535 - head/lib/libthr/thread

Konstantin Belousov kib at FreeBSD.org
Mon Apr 4 06:59:01 UTC 2016


Author: kib
Date: Mon Apr  4 06:58:59 2016
New Revision: 297535
URL: https://svnweb.freebsd.org/changeset/base/297535

Log:
  Remove unused variable.  It was write-only before r297139.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/lib/libthr/thread/thr_init.c
  head/lib/libthr/thread/thr_private.h

Modified: head/lib/libthr/thread/thr_init.c
==============================================================================
--- head/lib/libthr/thread/thr_init.c	Mon Apr  4 06:55:48 2016	(r297534)
+++ head/lib/libthr/thread/thr_init.c	Mon Apr  4 06:58:59 2016	(r297535)
@@ -108,7 +108,6 @@ struct pthread_cond_attr _pthread_condat
 	.c_clockid = CLOCK_REALTIME
 };
 
-pid_t		_thr_pid;
 int		_thr_is_smp = 0;
 size_t		_thr_guard_default;
 size_t		_thr_stack_default = THR_STACK_DEFAULT;

Modified: head/lib/libthr/thread/thr_private.h
==============================================================================
--- head/lib/libthr/thread/thr_private.h	Mon Apr  4 06:55:48 2016	(r297534)
+++ head/lib/libthr/thread/thr_private.h	Mon Apr  4 06:58:59 2016	(r297535)
@@ -725,7 +725,6 @@ extern struct pthread_cond_attr _pthread
 
 extern struct pthread_prio _thr_priorities[] __hidden;
 
-extern pid_t	_thr_pid __hidden;
 extern int	_thr_is_smp __hidden;
 
 extern size_t	_thr_guard_default __hidden;


More information about the svn-src-all mailing list