lkml.org 
[lkml]   [2020]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -next] selftests/timens: Remove duplicated include <time.h>
From
Date
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"
>

\
 
 \ /
  Last update: 2020-03-06 15:50    [W:0.068 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site