cleanup warning that crept into the code

This commit is contained in:
bunnie 2024-03-08 18:31:05 +08:00
parent 168e3454f6
commit 4eefbd88bc

View file

@ -591,7 +591,6 @@ impl SystemServices {
// isn't running, that means the system has gotten into an invalid
// state.
use core::num::IntErrorKind;
{
let current_pid = self.current_pid();
let current = self.get_process_mut(current_pid).expect("couldn't get current PID");