[v2] selftest/gpio: Remove duplicate header
diff mbox series

Message ID 20190306162018.GA3187@jordon-HP-15-Notebook-PC
State New
Headers show
Series
  • [v2] selftest/gpio: Remove duplicate header
Related show

Commit Message

Souptick Joarder March 6, 2019, 4:20 p.m. UTC
From: Sabyasachi Gupta <sabyasachi.linux@gmail.com>

Remove duplicate header which are included twice.

Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
v2: Corrected format.

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

Comments

Souptick Joarder March 20, 2019, 5:57 a.m. UTC | #1
On Wed, Mar 6, 2019 at 9:45 PM Souptick Joarder <jrdr.linux@gmail.com> wrote:
>
> From: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
>
> Remove duplicate header which are included twice.
>
> Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
> ---
> 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
>

Patch
diff mbox series

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>