Message ID | 20200306031705.25008-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 785c4e834f5f34dc00a398e935a89fd38416ff64 |
Headers | show |
Series | [-next] selftests/timens: Remove duplicated include <time.h> | expand |
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" >
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"
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(-)