about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-21 09:44:48 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-29 16:58:26 -0300
commitd55df811e95e6da6af4e414c3eef64546f8b4a2c (patch)
treed674823c7a74d653b4c01bfe94af68f5842025fe /nptl
parentecd0fbebc0ce2818ac87ca1ed2ce46a733e8c839 (diff)
downloadglibc-d55df811e95e6da6af4e414c3eef64546f8b4a2c.tar.gz
glibc-d55df811e95e6da6af4e414c3eef64546f8b4a2c.tar.xz
glibc-d55df811e95e6da6af4e414c3eef64546f8b4a2c.zip
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 <arjun@redhat.com>
Diffstat (limited to 'nptl')
-rw-r--r--nptl/descr.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index bb46b5958e..b5852632e3 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.