public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-next] sched/core: remove duplicate referenced header files
@ 2022-09-12  8:28 cgel.zte
  2022-09-12 10:33 ` kernel test robot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cgel.zte @ 2022-09-12  8:28 UTC (permalink / raw)
  To: mingo
  Cc: juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
	mgorman, bristot, vschneid, linux-kernel, Xu Panda, Zeal Robot

From: Xu Panda <xu.panda@zte.com.cn>

linux/entry-common.h is included more than once,
and linux/sched/rseq_api.h is included more than once.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
---
 kernel/sched/core.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index b60422300af6..1de0c26a370f 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -78,7 +78,6 @@
 #include <asm/tlb.h>

 #define CREATE_TRACE_POINTS
-#include <linux/sched/rseq_api.h>
 #include <trace/events/sched.h>
 #undef CREATE_TRACE_POINTS

@@ -8427,12 +8426,6 @@ int __cond_resched_rwlock_write(rwlock_t *lock)
 }
 EXPORT_SYMBOL(__cond_resched_rwlock_write);

-#ifdef CONFIG_PREEMPT_DYNAMIC
-
-#ifdef CONFIG_GENERIC_ENTRY
-#include <linux/entry-common.h>
-#endif
-
 /*
  * SC:cond_resched
  * SC:might_resched
-- 
2.15.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-12 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12  8:28 [PATCH linux-next] sched/core: remove duplicate referenced header files cgel.zte
2022-09-12 10:33 ` kernel test robot
2022-09-12 16:51 ` kernel test robot
2022-09-12 17:44 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox