From: Adhemerval Zanella Date: Thu, 21 Apr 2022 12:44:48 +0000 (-0300) Subject: nptl: Remove unused members from struct pthread X-Git-Tag: glibc-2.36~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d55df811e95e6da6af4e414c3eef64546f8b4a2c;p=thirdparty%2Fglibc.git nptl: Remove unused members from struct pthread It removes both pid_ununsed and cpuclock_offset_ununsed, saving about 12 bytes from struct pthread. Reviewed-by: Arjun Shankar --- diff --git a/nptl/descr.h b/nptl/descr.h index bb46b5958ed..b5852632e32 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -172,9 +172,6 @@ struct pthread therefore stack) used' flag. */ pid_t tid; - /* Ununsed. */ - pid_t pid_ununsed; - /* List of robust mutexes the thread is holding. */ #if __PTHREAD_MUTEX_HAVE_PREV void *robust_prev; @@ -342,10 +339,6 @@ struct pthread /* Lock for synchronizing setxid calls. */ unsigned int setxid_futex; -#if HP_TIMING_INLINE - hp_timing_t cpuclock_offset_ununsed; -#endif - /* If the thread waits to join another one the ID of the latter is stored here.