Re: [PATCH -next] selftests/timens: Remove duplicated include <time.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Thanks for the cleanup,

Reviewed-by: Dmitry Safonov <dima@xxxxxxxxxx>

> ---
>  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"
> 



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux