From 725da9cdbc9e08a7b74413f6700d80c296358e81 Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 4 Apr 2016 06:58:59 +0000 Subject: [PATCH] Remove unused variable. It was write-only before r297139. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- lib/libthr/thread/thr_init.c | 1 - lib/libthr/thread/thr_private.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index f9f845b4c3f8..c9f30ab02387 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -108,7 +108,6 @@ struct pthread_cond_attr _pthread_condattr_default = { .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; diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index 0db2dad8b3ac..f35d3cd3c357 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -725,7 +725,6 @@ extern struct pthread_cond_attr _pthread_condattr_default __hidden; 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;