aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/arch/xtensa.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/arch/xtensa.rs')
-rw-r--r--embassy-executor/src/arch/xtensa.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-executor/src/arch/xtensa.rs b/embassy-executor/src/arch/xtensa.rs
index 54c842025..28abf352c 100644
--- a/embassy-executor/src/arch/xtensa.rs
+++ b/embassy-executor/src/arch/xtensa.rs
@@ -25,9 +25,7 @@ mod thread {
25 pub struct Context; 25 pub struct Context;
26 26
27 impl ThreadContext for Context { 27 impl ThreadContext for Context {
28 #[cfg(feature = "thread-context")]
29 fn context(&self) -> OpaqueThreadContext { 28 fn context(&self) -> OpaqueThreadContext {
30 // Enabling thread-context is not incorrect, just wasteful.
31 OpaqueThreadContext(0) 29 OpaqueThreadContext(0)
32 } 30 }
33 31