diff --git a/modules/gralloc/mapper.cpp b/modules/gralloc/mapper.cpp index 5a882e2f..20d98418 100644 --- a/modules/gralloc/mapper.cpp +++ b/modules/gralloc/mapper.cpp @@ -33,14 +33,6 @@ #include "gralloc_priv.h" -/* desktop Linux needs a little help with gettid() */ -#if defined(ARCH_X86) && !defined(HAVE_ANDROID_OS) -#define __KERNEL__ -# include -pid_t gettid() { return syscall(__NR_gettid);} -#undef __KERNEL__ -#endif - /*****************************************************************************/ static int gralloc_map(gralloc_module_t const* /*module*/,