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

Message ID 169761837272.3135.2661780509672715179.tip-bot2@tip-bot2
State New
Headers
Series [tip:,sched/core] sched/fair: Remove duplicate #include |

Commit Message

tip-bot2 for Thomas Gleixner Oct. 18, 2023, 8:39 a.m. UTC
  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@linux.alibaba.com>
AuthorDate:    Wed, 18 Oct 2023 14:27:59 +08:00
Committer:     Ingo Molnar <mingo@kernel.org>
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@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231018062759.44375-1-jiapeng.chong@linux.alibaba.com

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

Patch

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"