mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: ignore "ppid unused" warning for now
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
4250d5bb10
commit
a241d89b5b
1 changed files with 2 additions and 2 deletions
|
|
@ -396,7 +396,7 @@ impl SystemServices {
|
|||
) -> Result<ProcessStartup, xous_kernel::Error> {
|
||||
let mut entry_idx = None;
|
||||
let mut new_pid = None;
|
||||
let ppid = crate::arch::process::current_pid();
|
||||
let _ppid = crate::arch::process::current_pid();
|
||||
|
||||
for (idx, entry) in self.processes.iter_mut().enumerate() {
|
||||
if entry.state != ProcessState::Free {
|
||||
|
|
@ -427,7 +427,7 @@ impl SystemServices {
|
|||
// the state to `ProcessState::Allocated` and we can go straight to running
|
||||
// this process.
|
||||
entry.state = ProcessState::Ready(1 << INITIAL_TID);
|
||||
// entry.ppid = ppid;
|
||||
// entry.ppid = _ppid;
|
||||
klog!("created new process for PID {} with PPID {}", new_pid, ppid);
|
||||
return Ok(startup);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue