[RFC PATCH tip] sched/headers: Convert task_struct:: fix duplicated inclusion

From: kernel test robot
Date: Mon Jun 14 2021 - 21:03:12 EST


arch/x86/include/asm/processor.h: linux/sched/thread.h is included more than once.

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
processor.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 543e9235c7ad2..3e7d6361c8f87 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -12,7 +12,6 @@ struct mm_struct;
struct io_bitmap;
struct vm86;

-#include <linux/sched/thread.h>

#include <asm/math_emu.h>
#include <asm/segment.h>