thread: reduce use of system_thread
[platform/upstream/glib.git] / glib / gthread.c
index 4704227..23fd703 100644 (file)
@@ -928,8 +928,6 @@ g_thread_self (void)
       thread->thread.func = NULL;
       thread->thread.data = NULL;
 
-      g_system_thread_self (&thread->system_thread);
-
       g_private_set (&g_thread_specific_private, thread);
     }