[PATCH -next] treewide: Remove duplicated include from tm-vmx-unavail.c

Subsystems: kernel selftest framework, the rest

STALE1983d

2 messages, 2 authors, 2021-03-26 · open the first message on its own page

[PATCH -next] treewide: Remove duplicated include from tm-vmx-unavail.c

From: Zheng Yongjun <hidden>
Date: 2021-03-26 06:54:54

Remove duplicated include.

Reported-by: Hulk Robot <redacted>
Signed-off-by: Zheng Yongjun <redacted>
---
 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"

Re: [PATCH -next] treewide: Remove duplicated include from tm-vmx-unavail.c

From: Christophe Leroy <hidden>
Date: 2021-03-26 07:05:25

Le 26/03/2021 à 07:48, Zheng Yongjun a écrit :
Remove duplicated include.
Why is that flagged "treewide" ?

Can you please combine all similar changes to tools/testing/selftests/powerpc/ into a single patch 
please ?

Thanks
Christophe
quoted hunk
Reported-by: Hulk Robot <redacted>
Signed-off-by: Zheng Yongjun <redacted>
---
  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"
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help