Skip to contentSkip to conversation

selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c

PATCH Applied Cheng-Yang Chou 2 participants 2 messages Feb 22 – Feb 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 tools/testing/selftests/sched_ext/rt_stall.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/sched_ext/rt_stall.c +0 -1
index ab772e336f86..81ea9b4883e5 100644
@@ -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
reviewer Applied
#1 lore raw

Applied to sched_ext/for-7.0-fixes.

Thanks.

--
tejun