remove unnecessary curly brace in thread_tick ()

This commit is contained in:
EDiasAlberto
2024-10-24 22:09:28 +01:00
parent 60acc2e58d
commit 39f4edd5e6

View File

@@ -160,9 +160,7 @@ thread_tick (void)
if (thread_mlfqs) if (thread_mlfqs)
{ {
if (t != idle_thread) if (t != idle_thread)
{
t->recent_cpu = fp_add_int (t->recent_cpu, 1); t->recent_cpu = fp_add_int (t->recent_cpu, 1);
}
if (ticks % TIMER_FREQ == 0) if (ticks % TIMER_FREQ == 0)
{ {