Skip to content

Commit f719ea5

Browse files
committed
rt: Remove rust_scheduler::interrupt_flag. Unused
1 parent aee83d2 commit f719ea5

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/rt/rust_scheduler.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rust_scheduler::rust_scheduler(rust_kernel *kernel,
1818
rust_srv *srv,
1919
int id) :
2020
ref_count(1),
21-
interrupt_flag(0),
2221
_log(srv, this),
2322
log_lvl(log_debug),
2423
srv(srv),
@@ -274,8 +273,6 @@ rust_scheduler::start_main_loop() {
274273

275274
place_task_in_tls(scheduled_task);
276275

277-
interrupt_flag = 0;
278-
279276
DLOG(this, task,
280277
"Running task %p on worker %d",
281278
scheduled_task, id);

src/rt/rust_scheduler.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ struct rust_scheduler : public kernel_owned<rust_scheduler>,
4545
{
4646
RUST_REFCOUNTED(rust_scheduler)
4747

48-
// Fields known to the compiler:
49-
uintptr_t interrupt_flag;
50-
5148
// Fields known only by the runtime:
5249
rust_log _log;
5350

0 commit comments

Comments
 (0)