From: Ingo Molnar Date: Wed, 1 Feb 2017 11:01:04 +0000 (+0100) Subject: sched/core: Remove unnecessary #include headers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=004172bdad644327dc7a6543186b9d7b529ee944;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sched/core: Remove unnecessary #include headers Over the years sched/core.c accumulated over 50 #include lines, 40 of which are superfluous. (!) Removing them decreases the preprocessed .c file (.i) size noticeably: triton:~/tip> wc -l kernel/sched/core.i Before: 76387 kernel/sched/core.i After: 75896 kernel/sched/core.i Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index a400190792b9..1cea6c61fb01 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -5,63 +5,24 @@ * * Copyright (C) 1991-2002 Linus Torvalds */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include + +#include +#include +#include +#include +#include #include -#include +#include +#include +#include #include #include -#include -#ifdef CONFIG_PARAVIRT -#include -#endif #include "sched.h" #include "../workqueue_internal.h"