[PATCH linux-next] sched/fair: remove duplicate referenced header files

From: cgel . zte
Date: Mon Sep 12 2022 - 04:31:38 EST


From: Xu Panda <xu.panda@xxxxxxxxxx>

linux/sched/cond_resched.h is included more than once.

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Xu Panda <xu.panda@xxxxxxxxxx>
---
kernel/sched/fair.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index cf3300b1a1d2..66d4c4a4dfd1 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -50,8 +50,6 @@

#include <asm/switch_to.h>

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