[tip: sched/core] sched/fair: Remove duplicate #include

From: tip-bot2 for Jiapeng Chong
Date: Wed Oct 18 2023 - 04:39:40 EST


The following commit has been merged into the sched/core branch of tip:

Commit-ID: 1b7ef2d94ff4cb0b1186a224a97349864820c606
Gitweb: https://git.kernel.org/tip/1b7ef2d94ff4cb0b1186a224a97349864820c606
Author: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
AuthorDate: Wed, 18 Oct 2023 14:27:59 +08:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Wed, 18 Oct 2023 10:32:31 +02:00

sched/fair: Remove duplicate #include

./kernel/sched/fair.c: linux/sched/cond_resched.h is included more than once.

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20231018062759.44375-1-jiapeng.chong@xxxxxxxxxxxxxxxxx

Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6907
---
kernel/sched/fair.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 38d757c..9ae2208 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -51,8 +51,6 @@

#include <asm/switch_to.h>

-#include <linux/sched/cond_resched.h>
-
#include "sched.h"
#include "stats.h"
#include "autogroup.h"