]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools/sched_ext/include: Remove dead sdt_task_defs.h guard from common.h
authorTejun Heo <tj@kernel.org>
Sun, 8 Mar 2026 02:45:14 +0000 (16:45 -1000)
committerTejun Heo <tj@kernel.org>
Sun, 8 Mar 2026 08:45:12 +0000 (22:45 -1000)
The __has_include guard for sdt_task_defs.h is vestigial — the only
remaining content is the bpf_arena_common.h include which is available
unconditionally. Remove the dead guard.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
tools/sched_ext/include/scx/common.h

index b3c6372bcf810b7396a78946bb1f6f143ac84128..823251fc4715139fd1795b5bd4bc2621499a38aa 100644 (file)
@@ -74,10 +74,6 @@ typedef int64_t s64;
 #include "compat.h"
 #include "enums.h"
 
-/* not available when building kernel tools/sched_ext */
-#if __has_include(<lib/sdt_task_defs.h>)
 #include "bpf_arena_common.h"
-#include <lib/sdt_task_defs.h>
-#endif
 
 #endif /* __SCHED_EXT_COMMON_H */