]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Remove unused members from struct pthread
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 21 Apr 2022 12:44:48 +0000 (09:44 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 29 Jun 2022 19:58:26 +0000 (16:58 -0300)
It removes both pid_ununsed and cpuclock_offset_ununsed, saving about
12 bytes from struct pthread.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
nptl/descr.h

index bb46b5958ed598a9b95ac156f41777eb5c556e26..b5852632e32c46ceb80f9ac916754e29c131f8fc 100644 (file)
@@ -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.