linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] selftests/timens: Remove duplicated include <time.h>
@ 2020-03-06  3:17 YueHaibing
  2020-03-06 14:49 ` Dmitry Safonov
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-03-06  3:17 UTC (permalink / raw)
  To: shuah, tglx, yuehaibing, 0x7f454c46, avagin, dima
  Cc: linux-kselftest, linux-kernel

Remove duplicated include.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 tools/testing/selftests/timens/exec.c   | 1 -
 tools/testing/selftests/timens/procfs.c | 1 -
 tools/testing/selftests/timens/timens.c | 1 -
 tools/testing/selftests/timens/timer.c  | 1 -
 4 files changed, 4 deletions(-)

diff --git a/tools/testing/selftests/timens/exec.c b/tools/testing/selftests/timens/exec.c
index 87b47b5..e40dc5b 100644
--- a/tools/testing/selftests/timens/exec.c
+++ b/tools/testing/selftests/timens/exec.c
@@ -11,7 +11,6 @@
 #include <sys/wait.h>
 #include <time.h>
 #include <unistd.h>
-#include <time.h>
 #include <string.h>
 
 #include "log.h"
diff --git a/tools/testing/selftests/timens/procfs.c b/tools/testing/selftests/timens/procfs.c
index 43d93f4..7f14f0f 100644
--- a/tools/testing/selftests/timens/procfs.c
+++ b/tools/testing/selftests/timens/procfs.c
@@ -12,7 +12,6 @@
 #include <sys/types.h>
 #include <time.h>
 #include <unistd.h>
-#include <time.h>
 
 #include "log.h"
 #include "timens.h"
diff --git a/tools/testing/selftests/timens/timens.c b/tools/testing/selftests/timens/timens.c
index 559d26e..098be7c 100644
--- a/tools/testing/selftests/timens/timens.c
+++ b/tools/testing/selftests/timens/timens.c
@@ -10,7 +10,6 @@
 #include <sys/types.h>
 #include <time.h>
 #include <unistd.h>
-#include <time.h>
 #include <string.h>
 
 #include "log.h"
diff --git a/tools/testing/selftests/timens/timer.c b/tools/testing/selftests/timens/timer.c
index 0cca7aa..96dba11 100644
--- a/tools/testing/selftests/timens/timer.c
+++ b/tools/testing/selftests/timens/timer.c
@@ -11,7 +11,6 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <signal.h>
-#include <time.h>
 
 #include "log.h"
 #include "timens.h"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] selftests/timens: Remove duplicated include <time.h>
  2020-03-06  3:17 [PATCH -next] selftests/timens: Remove duplicated include <time.h> YueHaibing
@ 2020-03-06 14:49 ` Dmitry Safonov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Safonov @ 2020-03-06 14:49 UTC (permalink / raw)
  To: YueHaibing, shuah, tglx, 0x7f454c46, avagin; +Cc: linux-kselftest, linux-kernel

On 3/6/20 3:17 AM, YueHaibing wrote:
> Remove duplicated include.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Thanks for the cleanup,

Reviewed-by: Dmitry Safonov <dima@arista.com>

> ---
>  tools/testing/selftests/timens/exec.c   | 1 -
>  tools/testing/selftests/timens/procfs.c | 1 -
>  tools/testing/selftests/timens/timens.c | 1 -
>  tools/testing/selftests/timens/timer.c  | 1 -
>  4 files changed, 4 deletions(-)
> 
> diff --git a/tools/testing/selftests/timens/exec.c b/tools/testing/selftests/timens/exec.c
> index 87b47b5..e40dc5b 100644
> --- a/tools/testing/selftests/timens/exec.c
> +++ b/tools/testing/selftests/timens/exec.c
> @@ -11,7 +11,6 @@
>  #include <sys/wait.h>
>  #include <time.h>
>  #include <unistd.h>
> -#include <time.h>
>  #include <string.h>
>  
>  #include "log.h"
> diff --git a/tools/testing/selftests/timens/procfs.c b/tools/testing/selftests/timens/procfs.c
> index 43d93f4..7f14f0f 100644
> --- a/tools/testing/selftests/timens/procfs.c
> +++ b/tools/testing/selftests/timens/procfs.c
> @@ -12,7 +12,6 @@
>  #include <sys/types.h>
>  #include <time.h>
>  #include <unistd.h>
> -#include <time.h>
>  
>  #include "log.h"
>  #include "timens.h"
> diff --git a/tools/testing/selftests/timens/timens.c b/tools/testing/selftests/timens/timens.c
> index 559d26e..098be7c 100644
> --- a/tools/testing/selftests/timens/timens.c
> +++ b/tools/testing/selftests/timens/timens.c
> @@ -10,7 +10,6 @@
>  #include <sys/types.h>
>  #include <time.h>
>  #include <unistd.h>
> -#include <time.h>
>  #include <string.h>
>  
>  #include "log.h"
> diff --git a/tools/testing/selftests/timens/timer.c b/tools/testing/selftests/timens/timer.c
> index 0cca7aa..96dba11 100644
> --- a/tools/testing/selftests/timens/timer.c
> +++ b/tools/testing/selftests/timens/timer.c
> @@ -11,7 +11,6 @@
>  #include <stdio.h>
>  #include <stdint.h>
>  #include <signal.h>
> -#include <time.h>
>  
>  #include "log.h"
>  #include "timens.h"
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-06 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06  3:17 [PATCH -next] selftests/timens: Remove duplicated include <time.h> YueHaibing
2020-03-06 14:49 ` Dmitry Safonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).