diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 28ca9787880..d6c981b9df2 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -269,11 +269,6 @@ rust_task::grow(size_t n_frame_bytes) } -void -rust_task::yield() { - yield(0); -} - // Only run this on the rust stack void rust_task::yield(size_t time_in_us) { diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 9311ba610a8..b54387e9293 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -164,9 +164,6 @@ rust_task : public kernel_owned, rust_cond // Print a backtrace, if the "bt" logging option is on. void backtrace(); - // Save callee-saved registers and return to the main loop. - void yield(); - // Yields for a specified duration of time. void yield(size_t time_in_ms);