kernel: minor formatting cleanups

These files have had rustfmt run on them.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-01-29 21:27:14 +08:00
parent 516876a30f
commit a75bc4f54c
2 changed files with 8 additions and 5 deletions

View file

@ -433,7 +433,11 @@ impl SystemServices {
entry.state = ProcessState::Ready(1 << INITIAL_TID); entry.state = ProcessState::Ready(1 << INITIAL_TID);
} }
// entry.ppid = _ppid; // entry.ppid = _ppid;
klog!("created new process for PID {} with PPID {}", new_pid, _ppid); klog!(
"created new process for PID {} with PPID {}",
new_pid,
_ppid
);
return Ok(startup); return Ok(startup);
} }
@ -1570,7 +1574,6 @@ impl SystemServices {
other other
), ),
}; };
// log_process_update(file!(), line!(), process, old_state);
Ok(new_tid) Ok(new_tid)
} }