diff mbox series

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

Message ID 20210326064812.3262659-1-zhengyongjun3@huawei.com (mailing list archive)
State Accepted
Commit c67454615cf95160cb806f7a471158a901eb261d
Headers show
Series [-next] treewide: Remove duplicated include from tm-vmx-unavail.c | expand

Commit Message

Zheng Yongjun March 26, 2021, 6:48 a.m. UTC
Remove duplicated include.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Christophe Leroy March 26, 2021, 7:04 a.m. UTC | #1
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

> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
>   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"
>
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 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"