[FIX] Remove postBlockBegin() from pthread_self
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Nov 2013 12:29:53 +0000 (16:29 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Nov 2013 12:29:53 +0000 (16:29 +0400)
Cause it is already included in AFTER_PACK_ORIGINAL_THREAD define

Change-Id: Ia1f9bcf718a48aa3bc2a3fedbb16f8822420c2aa
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
probe_thread/libdathread.c

index 883e0cc..9140ad8 100644 (file)
@@ -265,13 +265,9 @@ pthread_t pthread_self(void)
        ret_pthr = pthread_selfp();
 
        newerrno = errno;
-       if(postBlockBegin(blockresult)) {
-
-               AFTER_PACK_ORIGINAL_THREAD(API_ID_pthread_self,
-                                          ret_pthr, ret_pthr, THREAD_API_OTHER, "", 0);
 
-               postBlockEnd();
-       }
+       AFTER_PACK_ORIGINAL_THREAD(API_ID_pthread_self,
+                                  ret_pthr, ret_pthr, THREAD_API_OTHER, "", 0);
 
        return ret_pthr;
 }