diff mbox series

selftests/powerpc: Fix duplicate included pthread.h

Message ID 1620903820-68213-1-git-send-email-jiapeng.chong@linux.alibaba.com
State Accepted
Commit c67454615cf95160cb806f7a471158a901eb261d
Headers show
Series selftests/powerpc: Fix duplicate included pthread.h | expand

Commit Message

Jiapeng Chong May 13, 2021, 11:03 a.m. UTC
Clean up the following includecheck warning:

./tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c: pthread.h is
included more than once.

No functional change.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Michael Ellerman June 6, 2021, 12:08 p.m. UTC | #1
On Thu, 13 May 2021 19:03:40 +0800, Jiapeng Chong wrote:
> Clean up the following includecheck warning:

> 

> ./tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c: pthread.h is

> included more than once.

> 

> No functional change.


Applied to powerpc/next.

[1/1] selftests/powerpc: Fix duplicate included pthread.h
      https://git.kernel.org/powerpc/c/c67454615cf95160cb806f7a471158a901eb261d

cheers
diff mbox series

Patch

diff --git a/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c b/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
index e2a0c07..9ef37a9 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"