[igt-dev] [PATCH i-g-t] tests/core_setmaster_vs_auth: drop __linux__ includes hunk

Emil Velikov emil.l.velikov at gmail.com
Mon Jan 14 08:37:53 UTC 2019


From: Emil Velikov <emil.velikov at collabora.com>

Seeming copy/paste from another test. None of the includes are required.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 tests/core_setmaster_vs_auth.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c
index f1ae0c63..c335ddff 100644
--- a/tests/core_setmaster_vs_auth.c
+++ b/tests/core_setmaster_vs_auth.c
@@ -38,11 +38,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#ifdef __linux__
-# include <sys/syscall.h>
-#else
-# include <pthread.h>
-#endif
 
 IGT_TEST_DESCRIPTION("Check that drop/setMaster correctly transfer master "
 		     "state");
-- 
2.20.1



More information about the igt-dev mailing list