[PATCH] perf test: Remove duplicate include of util/term.h

Chen Ni posted 1 patch 1 week, 4 days ago
tools/perf/tests/builtin-test.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] perf test: Remove duplicate include of util/term.h
Posted by Chen Ni 1 week, 4 days ago
Remove duplicate inclusion of util/term.h in builtin-test.c to clean up
redundant code.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 tools/perf/tests/builtin-test.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 7d18cb6021d3..41dcfbf874f0 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -15,7 +15,6 @@
 #include <string.h>
 
 #include <dirent.h>
-#include "util/term.h"
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/zalloc.h>
-- 
2.25.1
Re: [PATCH] perf test: Remove duplicate include of util/term.h
Posted by Namhyung Kim 1 week, 3 days ago
On Tue, 14 Jul 2026 16:28:10 +0800, Chen Ni wrote:
> Remove duplicate inclusion of util/term.h in builtin-test.c to clean up
> redundant code.
> 
> 
Applied to perf-tools-next, thanks!

Best regards,
Namhyung
Re: [PATCH] perf test: Remove duplicate include of util/term.h
Posted by Ian Rogers 1 week, 3 days ago
On Tue, Jul 14, 2026 at 1:32 AM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Remove duplicate inclusion of util/term.h in builtin-test.c to clean up
> redundant code.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Reviewed-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  tools/perf/tests/builtin-test.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
> index 7d18cb6021d3..41dcfbf874f0 100644
> --- a/tools/perf/tests/builtin-test.c
> +++ b/tools/perf/tests/builtin-test.c
> @@ -15,7 +15,6 @@
>  #include <string.h>
>
>  #include <dirent.h>
> -#include "util/term.h"
>  #include <linux/kernel.h>
>  #include <linux/string.h>
>  #include <linux/zalloc.h>
> --
> 2.25.1
>