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

Daniel Vetter daniel at ffwll.ch
Mon Jan 14 10:21:22 UTC 2019


On Mon, Jan 14, 2019 at 08:37:53AM +0000, Emil Velikov wrote:
> 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>

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>

I'll also chat with igt maintainers and get you a committer invite to get
that sorted.

Thanks, Daniel
> ---
>  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
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the igt-dev mailing list