rt: Remove rust_task::yield. Unused
This commit is contained in:
parent
5e9f9e8c48
commit
d52888f0ba
@ -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) {
|
||||
|
@ -164,9 +164,6 @@ rust_task : public kernel_owned<rust_task>, 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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user