summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MetadataRetrieverClient.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-05-04 17:58:57 -0700
committerGlenn Kasten <gkasten@google.com>2011-06-03 16:12:37 -0700
commit0512ab559d4670c2204078470d7ef5d376811c57 (patch)
tree088654e0dd81abeca06fa9a4d8bc70ee43da8c42 /media/libmediaplayerservice/MetadataRetrieverClient.cpp
parent158b194da537c18a6ad1d7ef3cd63c87b2310269 (diff)
downloadframeworks_av-0512ab559d4670c2204078470d7ef5d376811c57.zip
frameworks_av-0512ab559d4670c2204078470d7ef5d376811c57.tar.gz
frameworks_av-0512ab559d4670c2204078470d7ef5d376811c57.tar.bz2
Remove dead code related to gettid
The gettid system call is always available now. Change-Id: Ib78b41781eda182dc8605daf456bbea7ff7c2dc0
Diffstat (limited to 'media/libmediaplayerservice/MetadataRetrieverClient.cpp')
-rw-r--r--media/libmediaplayerservice/MetadataRetrieverClient.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/media/libmediaplayerservice/MetadataRetrieverClient.cpp b/media/libmediaplayerservice/MetadataRetrieverClient.cpp
index 8f776b4..06fb103 100644
--- a/media/libmediaplayerservice/MetadataRetrieverClient.cpp
+++ b/media/libmediaplayerservice/MetadataRetrieverClient.cpp
@@ -40,18 +40,6 @@
#include "MetadataRetrieverClient.h"
#include "StagefrightMetadataRetriever.h"
-/* desktop Linux needs a little help with gettid() */
-#if defined(HAVE_GETTID) && !defined(HAVE_ANDROID_OS)
-#define __KERNEL__
-# include <linux/unistd.h>
-#ifdef _syscall0
-_syscall0(pid_t,gettid)
-#else
-pid_t gettid() { return syscall(__NR_gettid);}
-#endif
-#undef __KERNEL__
-#endif
-
namespace android {
extern player_type getPlayerType(const char* url);