2019-03-06 18:32:16

by Souptick Joarder

[permalink] [raw]
Subject: [PATCH v2] selftest/rseq: Remove duplicate header

From: Sabyasachi Gupta <[email protected]>

Remove duplicate header which is included twice

Signed-off-by: Sabyasachi Gupta <[email protected]>
Signed-off-by: Souptick Joarder <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
---
v2: Corrected format.

tools/testing/selftests/rseq/rseq.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/rseq/rseq.h b/tools/testing/selftests/rseq/rseq.h
index c72eb70..6c1126e7 100644
--- a/tools/testing/selftests/rseq/rseq.h
+++ b/tools/testing/selftests/rseq/rseq.h
@@ -16,7 +16,6 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sched.h>
#include <linux/rseq.h>

/*
--
1.9.1



2019-03-21 12:47:41

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH v2] selftest/rseq: Remove duplicate header

On Wed, Mar 6, 2019 at 9:42 PM Souptick Joarder <[email protected]> wrote:
>
> From: Sabyasachi Gupta <[email protected]>
>
> Remove duplicate header which is included twice
>
> Signed-off-by: Sabyasachi Gupta <[email protected]>
> Signed-off-by: Souptick Joarder <[email protected]>
> Acked-by: Mathieu Desnoyers <[email protected]>
> ---
> v2: Corrected format.

Any further comment on this ?
>
> tools/testing/selftests/rseq/rseq.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/rseq/rseq.h b/tools/testing/selftests/rseq/rseq.h
> index c72eb70..6c1126e7 100644
> --- a/tools/testing/selftests/rseq/rseq.h
> +++ b/tools/testing/selftests/rseq/rseq.h
> @@ -16,7 +16,6 @@
> #include <errno.h>
> #include <stdio.h>
> #include <stdlib.h>
> -#include <sched.h>
> #include <linux/rseq.h>
>
> /*
> --
> 1.9.1
>