From 4d466d8adaa02bd45c3d36cb910046c23c83a6f9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Apr 2017 22:44:56 +0200 Subject: remove unused HP_TIMING_AVAIL and header cleanup unused and unsupported code. --- libpthread/nptl/pthread_create.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libpthread/nptl/pthread_create.c') diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c index d39cb278c..b11265f7c 100644 --- a/libpthread/nptl/pthread_create.c +++ b/libpthread/nptl/pthread_create.c @@ -21,7 +21,6 @@ #include #include #include "pthreadP.h" -#include #include #include #include @@ -225,12 +224,6 @@ start_thread (void *arg) { struct pthread *pd = (struct pthread *) arg; -#if HP_TIMING_AVAIL - /* Remember the time when the thread was started. */ - hp_timing_t now; - HP_TIMING_NOW (now); - THREAD_SETMEM (pd, cpuclock_offset, now); -#endif #if defined __UCLIBC_HAS_RESOLVER_SUPPORT__ /* Initialize resolver state pointer. */ __resp = &pd->res; -- cgit v1.2.3