projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3d8df
)
sched/fair: Remove duplicate #include
author
Jiapeng Chong
<jiapeng.chong@linux.alibaba.com>
Wed, 18 Oct 2023 06:27:59 +0000
(14:27 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 18 Oct 2023 08:32:31 +0000
(10:32 +0200)
./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
patch
|
blob
|
history
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 38d757c3500468ebb21515bb76c14e86905b3e69..9ae2208089e4c5cae84b12eecd603098e5c61a54 100644
(file)
--- 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"