diff options
author | Glenn Kasten <gkasten@google.com> | 2011-05-04 17:58:57 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-06-03 16:12:37 -0700 |
commit | 6af763bec7c3f4d50fee8dd0046409bb8a7fe8f6 (patch) | |
tree | aad20d1f3e7ee495b531dde5ae78626e0911790d /services/audioflinger | |
parent | ed1a9022a19a9003931ce47ff7a0a0b5564255a5 (diff) | |
download | frameworks_base-6af763bec7c3f4d50fee8dd0046409bb8a7fe8f6.zip frameworks_base-6af763bec7c3f4d50fee8dd0046409bb8a7fe8f6.tar.gz frameworks_base-6af763bec7c3f4d50fee8dd0046409bb8a7fe8f6.tar.bz2 |
Remove dead code related to gettid
The gettid system call is always available now.
Change-Id: Ib78b41781eda182dc8605daf456bbea7ff7c2dc0
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 7 | ||||
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index f806624..d4a8ddb 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -53,13 +53,6 @@ #include <media/EffectVisualizerApi.h> // ---------------------------------------------------------------------------- -// the sim build doesn't have gettid - -#ifndef HAVE_GETTID -# define gettid getpid -#endif - -// ---------------------------------------------------------------------------- namespace android { diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index ef8d957..dd91788 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -39,13 +39,6 @@ #include <hardware/audio_policy.h> #include <hardware/audio_policy_hal.h> -// ---------------------------------------------------------------------------- -// the sim build doesn't have gettid - -#ifndef HAVE_GETTID -# define gettid getpid -#endif - namespace android { static const char *kDeadlockedString = "AudioPolicyService may be deadlocked\n"; |