From 8e437adc425b65c3ddda98ed0543c1a363306df5 Mon Sep 17 00:00:00 2001 From: "Charles E. Youse" Date: Tue, 30 Jul 2019 15:55:41 -0700 Subject: [PATCH] thread.c: remove vestigial CONFIG_INIT_STACKS cruft It looks like, at some point in the past, initializing thread stacks was the responsibility of the arch layer. After that was centralized, we forgot to remove the related conditional header inclusion. Fixed. Signed-off-by: Charles E. Youse --- arch/arc/core/thread.c | 3 --- arch/posix/core/thread.c | 4 ---- arch/x86/core/ia32/thread.c | 4 ---- arch/xtensa/core/thread.c | 3 --- 4 files changed, 14 deletions(-) diff --git a/arch/arc/core/thread.c b/arch/arc/core/thread.c index ec402cabb19..137ce05abc8 100644 --- a/arch/arc/core/thread.c +++ b/arch/arc/core/thread.c @@ -16,9 +16,6 @@ #include #include #include -#ifdef CONFIG_INIT_STACKS -#include -#endif /* CONFIG_INIT_STACKS */ #ifdef CONFIG_USERSPACE #include diff --git a/arch/posix/core/thread.c b/arch/posix/core/thread.c index e99f6365109..bfe1368f4d2 100644 --- a/arch/posix/core/thread.c +++ b/arch/posix/core/thread.c @@ -13,10 +13,6 @@ * architecture */ -#ifdef CONFIG_INIT_STACKS -#include -#endif /* CONFIG_INIT_STACKS */ - #include #include #include diff --git a/arch/x86/core/ia32/thread.c b/arch/x86/core/ia32/thread.c index d5ea8971cdb..68563be7235 100644 --- a/arch/x86/core/ia32/thread.c +++ b/arch/x86/core/ia32/thread.c @@ -12,10 +12,6 @@ * processor architecture. */ -#ifdef CONFIG_INIT_STACKS -#include -#endif /* CONFIG_INIT_STACKS */ - #include #include #include diff --git a/arch/xtensa/core/thread.c b/arch/xtensa/core/thread.c index 06ee316a354..5a7a3075d6d 100644 --- a/arch/xtensa/core/thread.c +++ b/arch/xtensa/core/thread.c @@ -3,9 +3,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -#ifdef CONFIG_INIT_STACKS -#include -#endif /* CONFIG_INIT_STACKS */ #ifdef CONFIG_DEBUG #include #endif