remove unnecessary curly brace in thread_tick ()
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user