2019-03-06 19:05:44

by Souptick Joarder

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

From: Sabyasachi Gupta <[email protected]>

Remove duplicate header which are included twice.

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

tools/testing/selftests/gpio/gpio-mockup-chardev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/gpio/gpio-mockup-chardev.c b/tools/testing/selftests/gpio/gpio-mockup-chardev.c
index aaa1e9f..d587c81 100644
--- a/tools/testing/selftests/gpio/gpio-mockup-chardev.c
+++ b/tools/testing/selftests/gpio/gpio-mockup-chardev.c
@@ -12,7 +12,6 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
--
1.9.1



2019-03-20 05:59:10

by Souptick Joarder

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

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

Any comment on this patch ?

>
> tools/testing/selftests/gpio/gpio-mockup-chardev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/gpio/gpio-mockup-chardev.c b/tools/testing/selftests/gpio/gpio-mockup-chardev.c
> index aaa1e9f..d587c81 100644
> --- a/tools/testing/selftests/gpio/gpio-mockup-chardev.c
> +++ b/tools/testing/selftests/gpio/gpio-mockup-chardev.c
> @@ -12,7 +12,6 @@
> #include <unistd.h>
> #include <stdio.h>
> #include <stdlib.h>
> -#include <stdio.h>
> #include <errno.h>
> #include <string.h>
> #include <fcntl.h>
> --
> 1.9.1
>