From: Tejun Heo Date: Sun, 8 Mar 2026 02:45:14 +0000 (-1000) Subject: tools/sched_ext/include: Remove dead sdt_task_defs.h guard from common.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c90af06c80a33a28f0bdba3ba136439afad4dd38;p=thirdparty%2Flinux.git tools/sched_ext/include: Remove dead sdt_task_defs.h guard from common.h 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 Acked-by: Andrea Righi --- diff --git a/tools/sched_ext/include/scx/common.h b/tools/sched_ext/include/scx/common.h index b3c6372bcf810..823251fc47151 100644 --- a/tools/sched_ext/include/scx/common.h +++ b/tools/sched_ext/include/scx/common.h @@ -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() #include "bpf_arena_common.h" -#include -#endif #endif /* __SCHED_EXT_COMMON_H */