soc: xtensa/dc233c: remove xtensa_dc233c_stack_ptr_is_sane

The generic stack pointer checker in the architecture code is
enough so we can remove the platform specific one. Besides,
xtensa_dc233c_stack_ptr_is_sane() does not do much checking
either.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-04-02 14:40:48 -07:00 committed by Henrik Brix Andersen
commit c44c922198
2 changed files with 0 additions and 7 deletions

View file

@ -20,9 +20,4 @@ static inline bool xtensa_dc233c_ptr_executable(const void *p)
return (in_text || in_vecbase);
}
static inline bool xtensa_dc233c_stack_ptr_is_sane(uint32_t sp)
{
return ((char *)sp >= __text_region_start);
}
#endif /* ZEPHYR_SOC_XTENSA_DC233C_BACKTRACE_HELPERS_H_ */