[PATCH] sched/fair: Remove unused autogroup.h include
From: Kayra Cizmeci
Date: Sun Jul 26 2026 - 12:03:28 EST
autogroup.h is included in fair.c but nothing in fair.c uses
anything it declares.
Signed-off-by: Kayra Cizmeci <kayracizmeci@xxxxxxxxx>
---
Hello, I've done some confirmations, firstly I grepped autogroup and
only place it appears is the include. Because of everything in autogroup.h
that can be used has autogroup string in them (Sorry if I've missed something)
autogroup.h is not used in fair.c. I also made a boot test using Lima and above
that QEMU, in x86_64 defconfig, 4 CPUs, busybox.
kernel/sched/fair.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d78467ec6ee1..666ee3643b73 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -56,7 +56,6 @@
#include "sched.h"
#include "stats.h"
-#include "autogroup.h"
/*
* The initial- and re-scaling of tunables is configurable
base-commit: 3dab139d4795f688e4f243e40c7474df00d329d9
--
2.53.0