[PATCH xserver] dix: Remove bogus input_mutex and input_mutex_count definitions from globals.c

Keith Packard keithp at keithp.com
Mon May 30 02:06:22 UTC 2016


These are local to inputthread.c; the ones in globals.c aren't
declared in any header file.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 dix/globals.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dix/globals.c b/dix/globals.c
index e313930..f36a938 100644
--- a/dix/globals.c
+++ b/dix/globals.c
@@ -132,12 +132,3 @@ Bool explicit_display = FALSE;
 char *ConnectionInfo;
 
 CARD32 TimeOutValue = DEFAULT_TIMEOUT * MILLI_PER_SECOND;
-
-#if DEBUG_INPUT_MUTEX
-#define INPUT_MUTEX_INITIALIZER PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
-#else
-#define INPUT_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
-#endif
-
-pthread_mutex_t input_mutex = INPUT_MUTEX_INITIALIZER;
-__thread int input_mutex_count;
-- 
2.8.1



More information about the xorg-devel mailing list