Skip to contentSkip to conversation

sched/fair: remove unneeded header files

PATCH New Miaohe Lin 1 participant 1 message Jun 3, 2023 Scheduler

lore
Share & tools
lore

Miaohe Lin

author
#0 lore raw

PATCH v2 1/1 sched/fair: remove unneeded header files

There're some useless header files in fair.c. Remove them.

---
v2:
fix warning reported by kernel test robot.

---
 kernel/sched/fair.c | 7 -------
 1 file changed, 7 deletions(-)
kernel/sched/fair.c +0 -7
index 373ff5f55884..1b626310cf8c 100644
@@ -21,16 +21,11 @@
  *  Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra
  */
 #include <linux/energy_model.h>
-#include <linux/mmap_lock.h>
 #include <linux/hugetlb_inline.h>
 #include <linux/jiffies.h>
-#include <linux/mm_api.h>
-#include <linux/highmem.h>
 #include <linux/spinlock_api.h>
 #include <linux/cpumask_api.h>
-#include <linux/lockdep_api.h>
 #include <linux/softirq.h>
-#include <linux/refcount_api.h>
 #include <linux/topology.h>
 #include <linux/sched/clock.h>
 #include <linux/sched/cond_resched.h>
@@ -42,8 +37,6 @@
 #include <linux/interrupt.h>
 #include <linux/memory-tiers.h>
 #include <linux/mempolicy.h>
-#include <linux/mutex_api.h>
-#include <linux/profile.h>
 #include <linux/psi.h>
 #include <linux/ratelimit.h>
 #include <linux/task_work.h>
Signature · 1 line
2.27.0