Skip to content

Commit

Permalink
arch/xtensa: #include cleanup
Browse files Browse the repository at this point in the history
This file doesn't need the asm2 header, and the preprocessor logic
around whether to include the backtrace header is needless (all it
does is declare functions).

Signed-off-by: Andy Ross <[email protected]>
  • Loading branch information
andyross authored and carlescufi committed Nov 21, 2023
1 parent b7d96ab commit e7e8f66
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/xtensa/core/fatal.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
#include <zephyr/kernel_structs.h>
#include <inttypes.h>
#include <xtensa/config/specreg.h>
#include <xtensa-asm2-context.h>
#if defined(CONFIG_XTENSA_ENABLE_BACKTRACE)
#if XCHAL_HAVE_WINDOWED
#include <xtensa_backtrace.h>
#endif
#endif
#include <zephyr/debug/coredump.h>
#include <zephyr/arch/common/exc_handle.h>
#include <zephyr/logging/log.h>
Expand Down

0 comments on commit e7e8f66

Please sign in to comment.