sched: proc: formatting fixes
This commit is contained in:
parent
884cd19f5b
commit
fcbcde3666
1 changed files with 3 additions and 4 deletions
|
|
@ -27,12 +27,11 @@ struct proc *proc_find(pid_t pid)
|
|||
{
|
||||
struct rbnode *proc_node = rbt_search(proc_tree, pid);
|
||||
|
||||
if (proc_node) {
|
||||
if (proc_node)
|
||||
return (void *)proc_node->value;
|
||||
} else {
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void schedule()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue