* [PATCH] selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c
@ 2026-02-22 18:47 Cheng-Yang Chou
2026-02-23 17:57 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Cheng-Yang Chou @ 2026-02-22 18:47 UTC (permalink / raw)
To: sched-ext; +Cc: tj, void, arighi, changwoo, jserv, yphbchou0911
The header <unistd.h> is included twice in rt_stall.c. Remove the
redundant inclusion to clean up the code.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
tools/testing/selftests/sched_ext/rt_stall.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/sched_ext/rt_stall.c b/tools/testing/selftests/sched_ext/rt_stall.c
index ab772e336f86..81ea9b4883e5 100644
--- a/tools/testing/selftests/sched_ext/rt_stall.c
+++ b/tools/testing/selftests/sched_ext/rt_stall.c
@@ -15,7 +15,6 @@
#include <signal.h>
#include <bpf/bpf.h>
#include <scx/common.h>
-#include <unistd.h>
#include "rt_stall.bpf.skel.h"
#include "scx_test.h"
#include "../kselftest.h"
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c
2026-02-22 18:47 [PATCH] selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c Cheng-Yang Chou
@ 2026-02-23 17:57 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2026-02-23 17:57 UTC (permalink / raw)
To: Cheng-Yang Chou; +Cc: sched-ext, void, arighi, changwoo, jserv
Applied to sched_ext/for-7.0-fixes.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-23 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-22 18:47 [PATCH] selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c Cheng-Yang Chou
2026-02-23 17:57 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox