rt: Remove some stack-wasting macros from rust_task::yield

This commit is contained in:
Brian Anderson
2011-11-18 15:59:10 -08:00
parent 71bcba6815
commit 9aa67052e1
2 changed files with 1 additions and 4 deletions

View File

@@ -268,11 +268,7 @@ rust_task::grow(size_t n_frame_bytes)
// Only run this on the rust stack
void
rust_task::yield(size_t time_in_us, bool *killed) {
LOG(this, task, "task %s @0x%" PRIxPTR " yielding for %d us",
name, this, time_in_us);
if (this->killed) {
A(sched, !blocked(), "Shouldn't be blocked before failing");
*killed = true;
}