Re: [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header
From: Andrea Righi
Date: Fri Jul 25 2025 - 07:36:34 EST
On Fri, Jul 25, 2025 at 05:04:12PM +0800, Jiapeng Chong wrote:
> ./tools/testing/selftests/sched_ext/hotplug.c: sched.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22941
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
Acked-by: Andrea Righi <arighi@xxxxxxxxxx>
Thanks for the cleanup.
-Andrea
> ---
> tools/testing/selftests/sched_ext/hotplug.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/sched_ext/hotplug.c b/tools/testing/selftests/sched_ext/hotplug.c
> index 1c9ceb661c43..0cfbb111a2d0 100644
> --- a/tools/testing/selftests/sched_ext/hotplug.c
> +++ b/tools/testing/selftests/sched_ext/hotplug.c
> @@ -6,7 +6,6 @@
> #include <bpf/bpf.h>
> #include <sched.h>
> #include <scx/common.h>
> -#include <sched.h>
> #include <sys/wait.h>
> #include <unistd.h>
>
> --
> 2.43.5
>