selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c
Subsystems (2)
PATCH 1/1 selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c
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 <[email protected]>
--- tools/testing/selftests/sched_ext/rt_stall.c | 1 - 1 file changed, 1 deletion(-)
tools/testing/selftests/sched_ext/rt_stall.c +0 -1
@@ -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"
Signature · 1 line
2.48.1
Applied to sched_ext/for-7.0-fixes.
Thanks.
--
tejun