Blame grpc-0004-use-gettid-from-glibc.patch

1f1b01a
From ec4ea511a15aef0de9760f3aad265faf4bf65cfa Mon Sep 17 00:00:00 2001
1f1b01a
From: Sergey Avseyev <sergey.avseyev@gmail.com>
1f1b01a
Date: Fri, 17 May 2019 10:53:34 +0300
1f1b01a
Subject: [PATCH 4/4] use gettid from glibc
1f1b01a
1f1b01a
---
1f1b01a
 src/core/lib/gpr/log_linux.cc | 2 --
1f1b01a
 1 file changed, 2 deletions(-)
1f1b01a
1f1b01a
diff --git a/src/core/lib/gpr/log_linux.cc b/src/core/lib/gpr/log_linux.cc
1f1b01a
index 561276f0c2..2656492d43 100644
1f1b01a
--- a/src/core/lib/gpr/log_linux.cc
1f1b01a
+++ b/src/core/lib/gpr/log_linux.cc
1f1b01a
@@ -40,8 +40,6 @@
1f1b01a
 #include <time.h>
1f1b01a
 #include <unistd.h>
1f1b01a
 
1f1b01a
-static long gettid(void) { return syscall(__NR_gettid); }
1f1b01a
-
1f1b01a
 void gpr_log(const char* file, int line, gpr_log_severity severity,
1f1b01a
              const char* format, ...) {
1f1b01a
   /* Avoid message construction if gpr_log_message won't log */
1f1b01a
-- 
1f1b01a
2.21.0
1f1b01a