Skip to contentSkip to conversation

sched/fair: Remove unused autogroup.h include

PATCH In review Kayra Cizmeci 1 participant 2 messages Jul 26 – Aug 31 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair: Remove unused autogroup.h include

autogroup.h is included in fair.c but nothing in fair.c uses anything it declares.

---
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(-)
kernel/sched/fair.c +0 -1
index d78467ec6ee1..666ee3643b73 100644
@@ -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

Signature · 1 line
2.53.0