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:
parent
77bd2c2c7e
commit
717cfd4b09
2 changed files with 0 additions and 7 deletions
|
@ -43,10 +43,6 @@ GEN_OFFSET_SYM(tPreempCoprocReg, cpStack);
|
||||||
/* Xtensa-specific _thread_arch_t structure member offsets */
|
/* Xtensa-specific _thread_arch_t structure member offsets */
|
||||||
GEN_OFFSET_SYM(_thread_arch_t, flags);
|
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 */
|
/* Xtensa-specific ESF structure member offsets */
|
||||||
GEN_OFFSET_SYM(__esf_t, sp);
|
GEN_OFFSET_SYM(__esf_t, sp);
|
||||||
GEN_OFFSET_SYM(__esf_t, pc);
|
GEN_OFFSET_SYM(__esf_t, pc);
|
||||||
|
|
|
@ -107,9 +107,6 @@ struct _thread_arch {
|
||||||
* fixed offset to read the 'flags' field.
|
* fixed offset to read the 'flags' field.
|
||||||
*/
|
*/
|
||||||
u32_t flags;
|
u32_t flags;
|
||||||
#ifdef CONFIG_THREAD_CUSTOM_DATA
|
|
||||||
void *custom_data; /* available for custom use */
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_ERRNO
|
#ifdef CONFIG_ERRNO
|
||||||
int errno_var;
|
int errno_var;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue