rt: remove unused 'rust_compare_and_swap_ptr'. Closes #4836
This commit is contained in:
@@ -776,12 +776,6 @@ rust_osmain_sched_id() {
|
||||
return task->kernel->osmain_sched_id();
|
||||
}
|
||||
|
||||
extern "C" CDECL bool
|
||||
rust_compare_and_swap_ptr(intptr_t *address,
|
||||
intptr_t oldval, intptr_t newval) {
|
||||
return sync::compare_and_swap(address, oldval, newval);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
rust_task_inhibit_kill(rust_task *task) {
|
||||
task->inhibit_kill();
|
||||
|
||||
Reference in New Issue
Block a user