Reformat thread priority changing functions to follow style w/ S

This commit is contained in:
Themis Demetriades
2024-10-20 20:38:28 +01:00
parent b1dba1a0bd
commit afcb12cef0

View File

@@ -385,7 +385,6 @@ thread_set_priority (int new_base_priority)
if (new_base_priority == old_base_priority)
return;
t->base_priority = new_base_priority;
t->priority = new_base_priority;
@@ -413,7 +412,7 @@ thread_recalculate_priority (void)
list_entry (list_max (&t->donors_list, priority_more, NULL),
struct thread, donor_elem)->priority;
if(max_donated_priority > t->priority)
if (max_donated_priority > t->priority)
t->priority = max_donated_priority;
}
}