kernel: cleanup header inclusion

Remove unused header inclusion in kernel code.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-11-28 15:42:54 -05:00 committed by Maureen Helm
commit 8aa3dc340d
7 changed files with 2 additions and 12 deletions

View file

@ -29,16 +29,15 @@
#include <kernel.h> #include <kernel.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h>
#include <ksched.h> #include <ksched.h>
#include <wait_q.h> #include <wait_q.h>
#include <sys/dlist.h>
#include <debug/object_tracing_common.h>
#include <errno.h> #include <errno.h>
#include <init.h> #include <init.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#include <debug/object_tracing_common.h>
#include <tracing/tracing.h> #include <tracing/tracing.h>
#include <sys/check.h> #include <sys/check.h>
#include <logging/log.h>
LOG_MODULE_DECLARE(os); LOG_MODULE_DECLARE(os);
/* We use a global spinlock here because some of the synchronization /* We use a global spinlock here because some of the synchronization

View file

@ -14,10 +14,8 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h>
#include <ksched.h> #include <ksched.h>
#include <wait_q.h> #include <wait_q.h>
#include <sys/dlist.h>
#include <init.h> #include <init.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#include <kernel_internal.h> #include <kernel_internal.h>

View file

@ -20,7 +20,6 @@
#include <wait_q.h> #include <wait_q.h>
#include <ksched.h> #include <ksched.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#include <sys/slist.h>
#include <sys/dlist.h> #include <sys/dlist.h>
#include <sys/util.h> #include <sys/util.h>
#include <sys/__assert.h> #include <sys/__assert.h>

View file

@ -15,10 +15,8 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h>
#include <wait_q.h> #include <wait_q.h>
#include <ksched.h> #include <ksched.h>
#include <sys/sflist.h>
#include <init.h> #include <init.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#include <kernel_internal.h> #include <kernel_internal.h>

View file

@ -21,7 +21,6 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h>
#include <wait_q.h> #include <wait_q.h>
#include <sys/dlist.h> #include <sys/dlist.h>
#include <ksched.h> #include <ksched.h>

View file

@ -12,7 +12,6 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h>
#include <ksched.h> #include <ksched.h>
#include <wait_q.h> #include <wait_q.h>
#include <sys/check.h> #include <sys/check.h>

View file

@ -15,10 +15,8 @@
#include <spinlock.h> #include <spinlock.h>
#include <sys/math_extras.h> #include <sys/math_extras.h>
#include <sys_clock.h> #include <sys_clock.h>
#include <drivers/timer/system_timer.h>
#include <ksched.h> #include <ksched.h>
#include <wait_q.h> #include <wait_q.h>
#include <sys/atomic.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#include <kernel_internal.h> #include <kernel_internal.h>
#include <kswap.h> #include <kswap.h>