summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioPolicyService.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 /services/audioflinger/AudioPolicyService.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 'services/audioflinger/AudioPolicyService.cpp')
-rw-r--r--services/audioflinger/AudioPolicyService.cpp7
1 files changed, 0 insertions, 7 deletions
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";