sched/headers: Remove duplicate header inclusions
authorYu Liao <liaoyu15@huawei.com>
Wed, 2 Aug 2023 02:15:01 +0000 (10:15 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 3 Oct 2023 19:27:55 +0000 (21:27 +0200)
<linux/psi.h> and "autogroup.h" are included twice, remove the duplicate header
inclusion.

Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230802021501.2511569-1-liaoyu15@huawei.com
kernel/sched/build_utility.c
kernel/sched/core.c

index 99bdd96f454f4eba861b11b0aae6991d348dce0e..80a3df49ab478420a8827f62a0bdf3374479082e 100644 (file)
@@ -34,7 +34,6 @@
 #include <linux/nospec.h>
 #include <linux/proc_fs.h>
 #include <linux/psi.h>
-#include <linux/psi.h>
 #include <linux/ptrace_api.h>
 #include <linux/sched_clock.h>
 #include <linux/security.h>
index 324980e3d2e51423748d412e02496081d6127838..27aff98645e870cee439a6000d8a16681798f1ee 100644 (file)
@@ -85,7 +85,6 @@
 
 #include "sched.h"
 #include "stats.h"
-#include "autogroup.h"
 
 #include "autogroup.h"
 #include "pelt.h"