diff --git a/arch/xtensa/core/offsets/offsets.c b/arch/xtensa/core/offsets/offsets.c index 94157d46192..b74d32689b9 100644 --- a/arch/xtensa/core/offsets/offsets.c +++ b/arch/xtensa/core/offsets/offsets.c @@ -43,10 +43,6 @@ GEN_OFFSET_SYM(tPreempCoprocReg, cpStack); /* Xtensa-specific _thread_arch_t structure member offsets */ GEN_OFFSET_SYM(_thread_arch_t, flags); -#ifdef CONFIG_THREAD_CUSTOM_DATA -GEN_OFFSET_SYM(_thread_arch_t, custom_data); -#endif - /* Xtensa-specific ESF structure member offsets */ GEN_OFFSET_SYM(__esf_t, sp); GEN_OFFSET_SYM(__esf_t, pc); diff --git a/arch/xtensa/include/kernel_arch_thread.h b/arch/xtensa/include/kernel_arch_thread.h index 455d0b26bc1..6f33ee341d2 100644 --- a/arch/xtensa/include/kernel_arch_thread.h +++ b/arch/xtensa/include/kernel_arch_thread.h @@ -107,9 +107,6 @@ struct _thread_arch { * fixed offset to read the 'flags' field. */ u32_t flags; -#ifdef CONFIG_THREAD_CUSTOM_DATA - void *custom_data; /* available for custom use */ -#endif #ifdef CONFIG_ERRNO int errno_var; #endif