arch: xtensa: Remove unused field from _thread_arch

This commit removes the custom_data field from _thread_arch
for xtensa platform as it is currently unused.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
Piotr Zięcik 2018-12-11 13:28:21 +01:00 committed by Anas Nashif
commit 717cfd4b09
2 changed files with 0 additions and 7 deletions

View file

@ -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);

View file

@ -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