2021-03-23 03:44:31

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] tools: testing: pthread.h is included twice

pthread.h has been included at line 17.
So we remove the duplicate one at line 20.

Signed-off-by: Wan Jiabing <[email protected]>
---
tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c b/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
index e2a0c07e8362..9ef37a9836ac 100644
--- a/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
+++ b/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
@@ -17,7 +17,6 @@
#include <pthread.h>
#include <sys/mman.h>
#include <unistd.h>
-#include <pthread.h>

#include "tm.h"
#include "utils.h"
--
2.25.1