]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
selftests/sched_ext: Remove duplicated unistd.h include in rt_stall.c
authorCheng-Yang Chou <yphbchou0911@gmail.com>
Sun, 22 Feb 2026 18:47:09 +0000 (02:47 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 23 Feb 2026 17:45:39 +0000 (07:45 -1000)
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>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/rt_stall.c

index ab772e336f86d6dd16548098da16565a429d5575..81ea9b4883e5c18641542af4143622f17e701733 100644 (file)
@@ -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"